tra-analysis/website/functions/node_modules/mime/cli.js
2019-01-06 13:14:45 -06:00

11 lines
157 B
JavaScript

#!/usr/bin/env node
'use strict';
var mime = require('.');
var file = process.argv[2];
var type = mime.getType(file);
process.stdout.write(type + '\n');