Fully implemented API

This commit is contained in:
Arjun Patel
2018-06-25 21:41:46 -07:00
parent 4cbe20aed9
commit f9e0a923ee
397 changed files with 63812 additions and 2 deletions
+11
View File
@@ -0,0 +1,11 @@
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));