Bachir Soussi Chiadmi ac58a24f5c added bower, gulp 7 years ago
..
index.js ac58a24f5c added bower, gulp 7 years ago
license ac58a24f5c added bower, gulp 7 years ago
package.json ac58a24f5c added bower, gulp 7 years ago
readme.md ac58a24f5c added bower, gulp 7 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