fuc-new/doc/node_modules/is-binary-path
2025-10-15 12:40:55 +08:00
..
index.d.ts 1 2025-10-03 17:17:08 +08:00
index.js 1 2025-10-03 17:17:08 +08:00
license 1 2025-10-03 17:17:08 +08:00
package.json 1 2025-10-03 17:17:08 +08:00
readme.md no message 2025-10-15 12:40:55 +08: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