Sha256: c041c610a52ee779951763cb28fee85fbda43201a8e88a9e98fc4f229318e518

Contents?: true

Size: 231 Bytes

Versions: 92

Compression:

Stored size: 231 Bytes

Contents

var db = require('mime-db');

var mapByType = {};
Object.keys(db).forEach(function(key) {
  var extensions = db[key].extensions;
  if (extensions) {
    mapByType[key] = extensions;
  }
});

console.log(JSON.stringify(mapByType));

Version data entries

92 entries across 89 versions & 12 rubygems

Version Path
ilog-0.4.1 node_modules/mime/build/build.js
ilog-0.4.0 node_modules/mime/build/build.js
ilog-0.3.3 node_modules/mime/build/build.js
blsk-sevcore-0.0.2 blsk_old/bluesky-doc/bluesky-doc/node_modules/mime/build/build.js
optimacms-0.4.3 spec/dummy/node_modules/send/node_modules/mime/build/build.js
optimacms-0.4.2 spec/dummy/node_modules/send/node_modules/mime/build/build.js
dkron-rb-0.11.2 node_modules/mime/build/build.js
cortex-0.1.3 spec/dummy/node_modules/send/node_modules/mime/build/build.js
dragonfly_puppeteer-0.1.0 node_modules/send/node_modules/mime/build/build.js
lanes-0.8.0 node_modules/mime/build/build.js
trusty-festivity-extension-2.6.3 node_modules/bower/node_modules/github/node_modules/mime/build/build.js
trusty-festivity-extension-2.6.2 node_modules/bower/node_modules/github/node_modules/mime/build/build.js
less-execjs-2.6.0.4 lib/less/js/node-mime/build/build.js
less-execjs-2.6.0.3 lib/less/js/node-mime/build/build.js
trusty-festivity-extension-2.6.1 node_modules/bower/node_modules/github/node_modules/mime/build/build.js
trusty-festivity-extension-2.6 node_modules/bower/node_modules/github/node_modules/mime/build/build.js
trusty-festivity-extension-2.5.19 node_modules/bower/node_modules/github/node_modules/mime/build/build.js
trusty-festivity-extension-2.5.18 node_modules/bower/node_modules/github/node_modules/mime/build/build.js
trusty-festivity-extension-2.5.17 node_modules/bower/node_modules/github/node_modules/mime/build/build.js
trusty-festivity-extension-2.5.16 node_modules/bower/node_modules/github/node_modules/mime/build/build.js