flow like the river
This commit is contained in:
commit
013fe673f3
42435 changed files with 5764238 additions and 0 deletions
34
BACK_BACK/node_modules/is-binary-path/readme.md
generated
vendored
Executable file
34
BACK_BACK/node_modules/is-binary-path/readme.md
generated
vendored
Executable file
|
|
@ -0,0 +1,34 @@
|
|||
# is-binary-path [](https://travis-ci.org/sindresorhus/is-binary-path)
|
||||
|
||||
> Check if a filepath is a binary file
|
||||
|
||||
|
||||
## Install
|
||||
|
||||
```
|
||||
$ npm install --save is-binary-path
|
||||
```
|
||||
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
var isBinaryPath = require('is-binary-path');
|
||||
|
||||
isBinaryPath('src/unicorn.png');
|
||||
//=> true
|
||||
|
||||
isBinaryPath('src/unicorn.txt');
|
||||
//=> false
|
||||
```
|
||||
|
||||
|
||||
## Related
|
||||
|
||||
- [`binary-extensions`](https://github.com/sindresorhus/binary-extensions) - List of binary file extensions
|
||||
- [`is-text-path`](https://github.com/sindresorhus/is-text-path) - Check if a filepath is a text file
|
||||
|
||||
|
||||
## License
|
||||
|
||||
MIT © [Sindre Sorhus](http://sindresorhus.com)
|
||||
Loading…
Add table
Add a link
Reference in a new issue