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 wherever.
|
6 |
|
7 |
|
8 | ## Install
|
9 |
|
10 | ```
|
11 | $ npm install --save binary-extensions
|
12 | ```
|
13 |
|
14 |
|
15 | ## Usage
|
16 |
|
17 | ```js
|
18 | var 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 |
|
29 |
|
30 | ## License
|
31 |
|
32 | MIT © [Sindre Sorhus](http://sindresorhus.com)
|