This repository has been archived on 2026-07-15. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
drive/frontend/node_modules/is-binary-path
Elijah 724d70e58b
Some checks failed
Automated Container Build / build-and-push (push) Failing after 12s
Inital build
2026-05-22 12:29:43 -07:00
..
index.d.ts Inital build 2026-05-22 12:29:43 -07:00
index.js Inital build 2026-05-22 12:29:43 -07:00
license Inital build 2026-05-22 12:29:43 -07:00
package.json Inital build 2026-05-22 12:29:43 -07:00
readme.md Inital build 2026-05-22 12:29:43 -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