• This project
    • Loading...
  • Sign in

정민혁 / TermProject_KakaoBot

%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
  • TermProject_KakaoBot
  • node_modules
  • mime
  • cli.js
  • 정민혁's avatar
    npm installed · c646fd58
    c646fd58
    정민혁 authored 2018-11-25 21:19:59 +0900
cli.js 149 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8
#!/usr/bin/env node

var mime = require('./mime.js');
var file = process.argv[2];
var type = mime.lookup(file);

process.stdout.write(type + '\n');