This repository has been archived on 2020-11-02. You can view files and clone it, but cannot push or open issues or pull requests.
TripSit_Suite/node_modules/mime/cli.js

11 lines
157 B
JavaScript
Raw Normal View History

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