34 lines
759 B
Markdown
34 lines
759 B
Markdown
![]() |
# binary-extensions [](https://travis-ci.org/sindresorhus/binary-extensions)
|
||
|
|
||
|
> List of binary file extensions
|
||
|
|
||
|
The list is just a [JSON file](binary-extensions.json) and can be used wherever.
|
||
|
|
||
|
|
||
|
## Install
|
||
|
|
||
|
```
|
||
|
$ npm install --save binary-extensions
|
||
|
```
|
||
|
|
||
|
|
||
|
## Usage
|
||
|
|
||
|
```js
|
||
|
var binaryExtensions = require('binary-extensions');
|
||
|
|
||
|
console.log(binaryExtensions);
|
||
|
//=> ['3ds', '3g2', ...]
|
||
|
```
|
||
|
|
||
|
|
||
|
## Related
|
||
|
|
||
|
- [`is-binary-path`](https://github.com/sindresorhus/is-binary-path) - Check if a filepath is a binary file
|
||
|
- [`text-extensions`](https://github.com/sindresorhus/text-extensions) - List of text file extensions
|
||
|
|
||
|
|
||
|
## License
|
||
|
|
||
|
MIT © [Sindre Sorhus](http://sindresorhus.com)
|