Check all the available MIME types of a extension
npm install mime-type-check> Check all the available MIME types of a extension.
It uses Mime-db as its core database.
Do not use this module to actually check the MIME type of a local or remote file. For that use File-type
bash
npm install mime-type-check
`Usage
`js
const getMimeType = require('mime-type-check');getMimeType('svg'); //=> ['image/svg+xml']
getMimeType('png'); //=> ['image/png']
getMimeType('3gpp') //=> ['audio/3gpp', 'video/3gpp']
`API
$3
string` is the extension to check the mimetypes for.