| .. | |||
| index.d.ts | 4 months ago | ||
| index.js | 4 months ago | ||
| license | 4 months ago | ||
| package.json | 4 months ago | ||
| readme.md | 4 months 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