A list of extensions used to represent images.
Containing both bitmap and vector formats. The list is just a JSON file so can be used wherever.
$ npm install --save image-extensions
const imageExtensions = require('image-extensions');
console.log(imageExtensions);
//=> ['ase', 'art', 'bmp', ...]
is-image
- Check if a filepath is an imagebinary-extensions
- List of binary file extensionstext-extensions
- List of text extensions
MIT © Arthur Verschaeve