htc b500366a42 首次提交 | hai 3 meses | |
---|---|---|
.. | ||
index.d.ts | hai 3 meses | |
index.js | hai 3 meses | |
license | hai 3 meses | |
package.json | hai 3 meses | |
readme.md | hai 3 meses |
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