1 | # 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 | ## Install
|
8 |
|
9 | ```sh
|
10 | npm install binary-extensions
|
11 | ```
|
12 |
|
13 | ## Usage
|
14 |
|
15 | ```js
|
16 | import binaryExtensions from 'binary-extensions';
|
17 |
|
18 | console.log(binaryExtensions);
|
19 | //=> ['3ds', '3g2', …]
|
20 | ```
|
21 |
|
22 | ## Related
|
23 |
|
24 | - [is-binary-path](https://github.com/sindresorhus/is-binary-path) - Check if a file path is a binary file
|
25 | - [text-extensions](https://github.com/sindresorhus/text-extensions) - List of text file extensions
|