ext-name-cli
Get the file extension and MIME type from a file
Install
$ npm install --global ext-name-cli
Usage
$ ext-name --help
Usage
$ ext-name <input>
Example
$ ext-name file.tar
tar
application/x-tar
Related
- ext-name - API for this module
License
MIT © Kevin Martensson