a zip code crypto-currency system good for red ONLY

123456789101112
  1. var db = require('mime-db');
  2. var mapByType = {};
  3. Object.keys(db).forEach(function(key) {
  4. var extensions = db[key].extensions;
  5. if (extensions) {
  6. mapByType[key] = extensions;
  7. }
  8. });
  9. console.log(JSON.stringify(mapByType));