file-formats
Library of file formats and extensions. Able to search by category.
npm install --save file-formats
interface
fileFormats.list(category)
METHODS:
______________________________________________________
category (String): Category or type to search by
Possible values: video | image | audio | ....
RETURNS
list (Array): List of extensions or values searched for
______________________________________________________
var fileFormats = require('file-formats');
console.log(fileFormats.list())
console.log(fileFormats.list('video'))
Contribute
- Feel free to submit PRs with additional formats or updated information
- Please see definitions for examples of how to add extension definitions