shift73k/assets_old/node_modules/is-binary-path
2022-08-13 07:32:36 -04:00
..
index.d.ts progress on migrating to heex templates and font-icons 2022-08-13 07:32:36 -04:00
index.js progress on migrating to heex templates and font-icons 2022-08-13 07:32:36 -04:00
license progress on migrating to heex templates and font-icons 2022-08-13 07:32:36 -04:00
package.json progress on migrating to heex templates and font-icons 2022-08-13 07:32:36 -04:00
readme.md progress on migrating to heex templates and font-icons 2022-08-13 07:32:36 -04: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