biobulkbende.org/node_modules/is-binary-path/readme.md
2020-09-16 14:23:28 +02:00

696 B

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

License

MIT © Sindre Sorhus