You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
788 B

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