Simple wrapper for node-mime
To install the module use the following commands:
$ yarn add @pascaliske/mime-types
import { getType, getExtension } from '@pascaliske/mime-types'
getType('text') // => 'text/plain'
getExtension('text/plain') // => 'txt'
For more information go to the node-mime package.
MIT © Pascal Iske