List of binary file extensions
The list is just a JSON file and can be used anywhere.
npm install binary-extensionsimportbinaryExtensionsfrom'binary-extensions';console.log(binaryExtensions);//=> ['3ds', '3g2', …]- is-binary-path - Check if a file path is a binary file
- text-extensions - List of text file extensions