ext-name-cli

Get the file extension and MIME type from a file

Usage no npm install needed!

<script type="module">
  import extNameCli from 'https://cdn.skypack.dev/ext-name-cli';
</script>

README

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>

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

Related

License

MIT © Kevin Martensson