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