You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Daniel Hübleitner 615619e6e7 start werk 5 years ago
..
index.js start werk 5 years ago
license start werk 5 years ago
package.json start werk 5 years ago
readme.md start werk 5 years ago

readme.md

is-binary-path Build Status

Check if a filepath is a binary file

Install

$ npm install --save is-binary-path

Usage

var isBinaryPath = require('is-binary-path');

isBinaryPath('src/unicorn.png');
//=> true

isBinaryPath('src/unicorn.txt');
//=> false

Related

License

MIT © Sindre Sorhus