• This project
    • Loading...
  • Sign in

Chat_Bot / KaKao_ChatBot

%ea%b7%b8%eb%a6%bc1
Go to a project
Toggle navigation Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Graphs
  • Network
  • Create a new issue
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • KaKao_ChatBot
  • node_modules
  • mime
  • build
  • build.js
  • 윤준현's avatar
    basic · f499ba8e
    f499ba8e
    윤준현 authored 2018-11-14 00:27:57 +0900
build.js 231 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 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));