wallet-core/node_modules/binary-extensions/readme.md

34 lines
751 B
Markdown
Raw Normal View History

2017-05-03 15:35:00 +02:00
# binary-extensions [![Build Status](https://travis-ci.org/sindresorhus/binary-extensions.svg?branch=master)](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
```
2017-12-10 21:51:33 +01:00
$ npm install binary-extensions
2017-05-03 15:35:00 +02:00
```
## Usage
```js
2017-12-10 21:51:33 +01:00
const binaryExtensions = require('binary-extensions');
2017-05-03 15:35:00 +02:00
console.log(binaryExtensions);
2017-12-10 21:51:33 +01:00
//=> ['3ds', '3g2', …]
2017-05-03 15:35:00 +02:00
```
## Related
2017-12-10 21:51:33 +01:00
- [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
2017-05-03 15:35:00 +02:00
## License
2017-12-10 21:51:33 +01:00
MIT © [Sindre Sorhus](https://sindresorhus.com)