is-binary-path-cross
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

is-binary-path

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

Related


Get professional support for this package with a Tidelift subscription
Tidelift helps make open source sustainable for maintainers while giving companies
assurances about security, maintenance, and licensing for their dependencies.

Package Sidebar

Install

npm i is-binary-path-cross

Weekly Downloads

0

Version

0.0.1

License

MIT

Unpacked Size

3.26 kB

Total Files

6

Last publish

Collaborators

  • nguyenthanh1995
  • tachibana-shin