Version 2 is a breaking change from 1.x, as the semver implies. Specifically:
ES6 support required (requires Node 6+)
lookup() renamed to getType()
extension() renamed to getExtension()
charset() and load() methods have been removed
Hi @cloudhead, do you have a timeline to merge this and publish a new npm module? Also would you consider adding a step to npm shrinkwrap before publishing to npm?
FYI: https://github.com/broofa/node-mime/blob/master/README.md