claude-web/node_modules/is-binary-path
MerCry 0cf07bfca6 初始化提交 2026-02-23 10:23:38 +08:00
..
index.d.ts 初始化提交 2026-02-23 10:23:38 +08:00
index.js 初始化提交 2026-02-23 10:23:38 +08:00
license 初始化提交 2026-02-23 10:23:38 +08:00
package.json 初始化提交 2026-02-23 10:23:38 +08:00
readme.md 初始化提交 2026-02-23 10:23:38 +08:00

readme.md

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