oil-station/gasStation-uni/node_modules/is-binary-path
2024-09-24 17:24:39 +08:00
..
index.d.ts 提交 2024-09-24 17:24:39 +08:00
index.js 提交 2024-09-24 17:24:39 +08:00
license 提交 2024-09-24 17:24:39 +08:00
package.json 提交 2024-09-24 17:24:39 +08:00
readme.md 提交 2024-09-24 17:24:39 +08:00

is-binary-path Build Status

Check if a file path is a binary file

Install

$ npm install is-binary-path

Usage

const isBinaryPath = require('is-binary-path');

isBinaryPath('source/unicorn.png');
//=> true

isBinaryPath('source/unicorn.txt');
//=> false

License

MIT © Sindre Sorhus, Paul Miller