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