菠萝吹雪's Studio.

[Untitled Post]

字数统计: 24阅读时长: 1 min
2019/03/17 Share

#!/usr/bin/env node

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

process.stdout.write(type + ‘\n’);

CATALOG