Detailansicht verbessert
This commit is contained in:
34
express-server/node_modules/is-binary-path/readme.md
generated
vendored
Normal file
34
express-server/node_modules/is-binary-path/readme.md
generated
vendored
Normal 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)
|
Reference in New Issue
Block a user