auth-api/tests/node_modules/is-binary-path
2021-06-23 22:30:45 +02:00
..
index.d.ts Added some tests 2021-06-23 22:30:45 +02:00
index.js Added some tests 2021-06-23 22:30:45 +02:00
license Added some tests 2021-06-23 22:30:45 +02:00
package.json Added some tests 2021-06-23 22:30:45 +02:00
readme.md Added some tests 2021-06-23 22:30:45 +02:00

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