Return a list of known file extensions and their MIME types
$ npm install ext-list
const extList = require('ext-list');
extList();
//=> Map {'123' => 'application/vnd.lotus-1-2-3', 'ez' => 'application/andrew-inset', ...}
Returns a Map
with the extensions as keys and their content types as values.
MIT © Kevin Mårtensson