Bolshakova Anna ab21a11190 lab | há 3 semanas atrás | |
---|---|---|
.. | ||
index.d.ts | há 3 semanas atrás | |
index.js | há 3 semanas atrás | |
license | há 3 semanas atrás | |
package.json | há 3 semanas atrás | |
readme.md | há 3 semanas atrás |
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