sensordb2 e64a8defe5 3.17 | vor 1 Jahr | |
---|---|---|
.. | ||
index.js | vor 1 Jahr | |
license | vor 1 Jahr | |
package.json | vor 1 Jahr | |
readme.md | vor 1 Jahr |
Check if a filepath is a binary file
$ npm install --save is-binary-path
var isBinaryPath = require('is-binary-path');
isBinaryPath('src/unicorn.png');
//=> true
isBinaryPath('src/unicorn.txt');
//=> false
binary-extensions
- List of binary file extensionsis-text-path
- Check if a filepath is a text fileMIT © Sindre Sorhus