Version 2 is a breaking change from 1.x, as the semver implies. Specifically:
- ES6 support required (node@>=6)
lookup()
renamed togetType()
extension()
renamed togetExtension()
charset()
andload()
methods have been removed
- [closed] woff and woff2 #168
- [closed] support for ac3 voc files #159
- [closed] Help understanding change from application/xml to text/xml #158
- [closed] no longer able to override mimetype #157
- [closed] application/vnd.adobe.photoshop #147
- [closed] Directories should appear as something other than application/octet-stream #135
- [closed] requested features #131
- [closed] Make types.json loading optional? #129
- [closed] Cannot find module './types.json' #120
- [V2] .wav files show up as "audio/x-wav" instead of "audio/x-wave" #118
- [closed] Don't be a pain in the ass for node community #108
- [closed] don't make default_type global #78
- [closed] mime.extension() fails if the content-type is parameterized #74