mirror of
https://github.com/biobulkbende/biobulkbende.org.git
synced 2024-12-25 12:45:23 +00:00
.. | ||
index.js | ||
license | ||
package.json | ||
readme.md |
is-binary-path
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
binary-extensions
- List of binary file extensionsis-text-path
- Check if a filepath is a text file
License
MIT © Sindre Sorhus