chensenlai 10988628a0 语音房项目初始化 | 5 gadi atpakaļ | |
---|---|---|
.. | ||
index.js | 5 gadi atpakaļ | |
license | 5 gadi atpakaļ | |
package.json | 5 gadi atpakaļ | |
readme.md | 5 gadi atpakaļ |
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