Swap-Aggregator-Subgraph/node_modules/is-binary-path
2022-07-03 07:27:35 +05:30
..
index.d.ts added handler 2022-07-03 07:27:35 +05:30
index.js added handler 2022-07-03 07:27:35 +05:30
license added handler 2022-07-03 07:27:35 +05:30
package.json added handler 2022-07-03 07:27:35 +05:30
readme.md added handler 2022-07-03 07:27:35 +05:30

is-binary-path Build Status

Check if a file path is a binary file

Install

$ npm install is-binary-path

Usage

const isBinaryPath = require('is-binary-path');

isBinaryPath('source/unicorn.png');
//=> true

isBinaryPath('source/unicorn.txt');
//=> false

License

MIT © Sindre Sorhus, Paul Miller