Illia Kozyr c722a49f64 React Project DONE | 2 lat temu | |
---|---|---|
.. | ||
index.d.ts | 2 lat temu | |
index.js | 2 lat temu | |
license | 2 lat temu | |
package.json | 2 lat temu | |
readme.md | 2 lat temu |
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