• This project
    • Loading...
  • Sign in

2019-1-OpenSourceSW / RUTROLL

%ea%b7%b8%eb%a6%bc1
Go to a project
Toggle navigation Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Snippets
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • RUTROLL
  • node_modules
  • mime
  • build
  • build.js
  • 박민근's avatar
    first excuted & exchanged new url · a9596e62
    a9596e62
    박민근 authored 2018-11-27 11:18:05 +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));