customer-riverside/node_modules/is-binary-path
Philip Peterson 63ce2ba2ef wip
2026-05-24 19:23:05 -07:00
..
index.d.ts wip 2026-05-24 19:23:05 -07:00
index.js wip 2026-05-24 19:23:05 -07:00
license wip 2026-05-24 19:23:05 -07:00
package.json wip 2026-05-24 19:23:05 -07:00
readme.md wip 2026-05-24 19:23:05 -07: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