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 |
|
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 | ---
|
32 |
|
33 | <div align="center">
|
34 | <b>
|
35 | <a href="https://tidelift.com/subscription/pkg/npm-binary-extensions?utm_source=npm-binary-extensions&utm_medium=referral&utm_campaign=readme">Get professional support for this package with a Tidelift subscription</a>
|
36 | </b>
|
37 | <br>
|
38 | <sub>
|
39 | Tidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies.
|
40 | </sub>
|
41 | </div>
|