ext2type

extension to content type of http

Usage no npm install needed!

<script type="module">
  import ext2type from 'https://cdn.skypack.dev/ext2type';
</script>

README

ext2type

convert extension of the path to the http Content-Type format, like application/xml, application/json.

Build Status

NPM NPM

Installation

$ npm install ext2type

API

ext2type(name): just calling it

LICENSE

MIT