1
|
# binary-extensions [![Build Status](https://travis-ci.org/sindresorhus/binary-extensions.svg?branch=master)](https://travis-ci.org/sindresorhus/binary-extensions)
|
2
|
|
3
|
> List of binary file extensions
|
4
|
|
5
|
The list is just a [JSON file](binary-extensions.json) and can be used anywhere.
|
6
|
|
7
|
|
8
|
## Install
|
9
|
|
10
|
```
|
11
|
$ npm install binary-extensions
|
12
|
```
|
13
|
|
14
|
|
15
|
## Usage
|
16
|
|
17
|
```js
|
18
|
const binaryExtensions = require('binary-extensions');
|
19
|
|
20
|
console.log(binaryExtensions);
|
21
|
//=> ['3ds', '3g2', …]
|
22
|
```
|
23
|
|
24
|
|
25
|
## Related
|
26
|
|
27
|
- [is-binary-path](https://github.com/sindresorhus/is-binary-path) - Check if a filepath is a binary file
|
28
|
- [text-extensions](https://github.com/sindresorhus/text-extensions) - List of text file extensions
|
29
|
|
30
|
|
31
|
## License
|
32
|
|
33
|
MIT © [Sindre Sorhus](https://sindresorhus.com), Paul Miller (https://paulmillr.com)
|