mirror of
https://github.com/musix-org/musix-oss
synced 2024-12-23 13:03:18 +00:00
11 lines
157 B
JavaScript
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');
|
|
|