management/front/dkha-web-sz-main/node_modules/mime/cli.js

11 lines
157 B
JavaScript
Raw Normal View History

2023-12-18 13:12:25 +08:00
#!/usr/bin/env node
'use strict';
var mime = require('.');
var file = process.argv[2];
var type = mime.getType(file);
process.stdout.write(type + '\n');