Thilo Wendt 6c2edc3d6a added bootstrap via npm and started shopping list project | 4 years ago | |
---|---|---|
.. | ||
index.d.ts | 4 years ago | |
index.js | 4 years ago | |
license | 4 years ago | |
package.json | 4 years ago | |
readme.md | 4 years ago |
Check if a file path is a binary file
$ npm install is-binary-path
const isBinaryPath = require('is-binary-path');
isBinaryPath('source/unicorn.png');
//=> true
isBinaryPath('source/unicorn.txt');
//=> false
MIT © Sindre Sorhus, Paul Miller