Swap-Aggregator-Subgraph/node_modules/is-binary-path
Richa-iitr d211083153 Revert "Revert "added handler""
This reverts commit c36ee8c5ca.
2022-07-03 07:30:05 +05:30
..
index.d.ts Revert "Revert "added handler"" 2022-07-03 07:30:05 +05:30
index.js Revert "Revert "added handler"" 2022-07-03 07:30:05 +05:30
license Revert "Revert "added handler"" 2022-07-03 07:30:05 +05:30
package.json Revert "Revert "added handler"" 2022-07-03 07:30:05 +05:30
readme.md Revert "Revert "added handler"" 2022-07-03 07:30:05 +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