aswi2020vldc-gitlab/templetes/node_modules/mime/cli.js @ 0b434236
1 |
#!/usr/bin/env node
|
---|---|
2 |
|
3 |
'use strict'; |
4 |
|
5 |
var mime = require('.'); |
6 |
var file = process.argv[2]; |
7 |
var type = mime.getType(file); |
8 |
|
9 |
process.stdout.write(type + '\n'); |
10 |
|