forked from Mirrors/doipjs
10 lines
157 B
JavaScript
Executable file
10 lines
157 B
JavaScript
Executable file
#!/usr/bin/env node
|
|
|
|
'use strict';
|
|
|
|
var mime = require('.');
|
|
var file = process.argv[2];
|
|
var type = mime.getType(file);
|
|
|
|
process.stdout.write(type + '\n');
|
|
|