huanggang 03a863fb53 add node_modules %!s(int64=7) %!d(string=hai) anos
..
index.js 03a863fb53 add node_modules %!s(int64=7) %!d(string=hai) anos
license 03a863fb53 add node_modules %!s(int64=7) %!d(string=hai) anos
package.json 03a863fb53 add node_modules %!s(int64=7) %!d(string=hai) anos
readme.md 03a863fb53 add node_modules %!s(int64=7) %!d(string=hai) anos

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