mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
# add dist
This commit is contained in:
34
ng2-components/ng2-alfresco-documentslist/dist/node_modules/is-binary-path/readme.md
generated
vendored
Normal file
34
ng2-components/ng2-alfresco-documentslist/dist/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