Skip to content

kevva/ext-name-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ext-name-cli Build Status

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>

  Options
    --mime Get extension and MIME type from a MIME type

  Example
    $ ext-name file.tar
    tar
    application/x-tar

    $ ext-name --mime application/x-tar
    tar
    application/x-tar

Related

License

MIT © Kevin Martensson

About

Get the file extension and MIME type from a file

Resources

License

Stars

Watchers

Forks

Packages

No packages published