List of binary file extensions
The list is just a JSON file and can be used wherever.
$ npm install --save binary-extensions
var binaryExtensions = require('binary-extensions'); console.log(binaryExtensions); //=> ['3ds', '3g2', ...]
is-binary-path- Check if a filepath is a binary filetext-extensions- List of text file extensions
MIT © Sindre Sorhus