EASYAIuniappNewUI/node_modules/is-binary-path
2025-02-08 18:50:38 +08:00
..
index.d.ts 2025/2/8第一次更新 2025-02-08 18:50:38 +08:00
index.js 2025/2/8第一次更新 2025-02-08 18:50:38 +08:00
license 2025/2/8第一次更新 2025-02-08 18:50:38 +08:00
package.json 2025/2/8第一次更新 2025-02-08 18:50:38 +08:00
readme.md 2025/2/8第一次更新 2025-02-08 18:50:38 +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