Opal-Estate-Pro/node_modules/is-binary-path
2019-09-13 09:44:33 +07:00
..
index.js uapte 2019-09-13 09:44:33 +07:00
license uapte 2019-09-13 09:44:33 +07:00
package.json uapte 2019-09-13 09:44:33 +07:00
readme.md uapte 2019-09-13 09:44:33 +07:00

is-binary-path Build Status

Check if a filepath is a binary file

Install

$ npm install --save is-binary-path

Usage

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

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

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

License

MIT © Sindre Sorhus