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.

41 lines
997 B

2 years ago
  1. # 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. ---
  18. <div align="center">
  19. <b>
  20. <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>
  21. </b>
  22. <br>
  23. <sub>
  24. Tidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies.
  25. </sub>
  26. </div>