qwqdanchun.github.io/node_modules/is-binary-path
qwqdanchun 1b6a0fbb18 test 2022-11-11 19:16:46 +08:00
..
index.d.ts test 2022-11-11 19:16:46 +08:00
index.js test 2022-11-11 19:16:46 +08:00
license test 2022-11-11 19:16:46 +08:00
package.json test 2022-11-11 19:16:46 +08:00
readme.md test 2022-11-11 19:16:46 +08:00

readme.md

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