lihai 8d6c751f49 feat: push 2 anni fa
..
index.js 8d6c751f49 feat: push 2 anni fa
license 8d6c751f49 feat: push 2 anni fa
package.json 8d6c751f49 feat: push 2 anni fa
readme.md 8d6c751f49 feat: push 2 anni fa

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