README
mime.json
This is the list of file extensions with their mime types, nothing more. The list is extracted from mime-db.
Usage
import mime from 'mime.json';
mime['js']; // => 'application/javascript'
mime.json; // => 'application/json'
JSON list of extensions with their mime types
<script type="module">
import mimeJson from 'https://cdn.skypack.dev/mime.json';
</script>
This is the list of file extensions with their mime types, nothing more. The list is extracted from mime-db.
import mime from 'mime.json';
mime['js']; // => 'application/javascript'
mime.json; // => 'application/json'