Get unlimited public & private packages + package-based permissions with npm Pro.Get started »

is-binary-path

2.1.0 • Public • Published

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

Related

License

MIT © Sindre Sorhus, Paul Miller

Install

npm i is-binary-path

DownloadsWeekly Downloads

16,289,364

Version

2.1.0

License

MIT

Unpacked Size

3.08 kB

Total Files

5

Last publish

Collaborators

  • avatar
  • avatar
  • avatar