get-mime-type
v1.0.2
Published
Simple extension to mime-type
Downloads
923
Readme
get-mime-type
Get a mime-type from a filename or extension with no fuzz.
npm install get-mime-type
API
mime = getMimeType(name, charset = true)
Get a mime / content type for a name or extension. If charset is true (default) it adds the charset for known extensions
License
Apache 2.0