Andrea Fazzi 929328de94 Replace domain name 4 лет назад
..
index.js 994369ab61 First commit 7 лет назад
license 994369ab61 First commit 7 лет назад
package.json 929328de94 Replace domain name 4 лет назад
readme.md 994369ab61 First commit 7 лет назад

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