travel/admin/node_modules/is-binary-path
yaosen 242417d45d init... 2024-06-24 11:28:18 +08:00
..
index.js init... 2024-06-24 11:28:18 +08:00
license init... 2024-06-24 11:28:18 +08:00
package.json init... 2024-06-24 11:28:18 +08:00
readme.md init... 2024-06-24 11:28:18 +08:00

readme.md

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