Hi,
In addition to the listed modules, I would point out another excellent work in progress mime parser for JavaScript – jsmime by Joshua Cranmer (
https://github.com/mozilla-comm/jsmime). Currently it probably runs only in Firefox, at least for now, due to the use of `let` keyword, `const` in strict mode (throws in Chrome), generators, crux like `for (let [, value] of this)` etc. The scope of jsmime is much larger than mimeparser, so it is something to keep an eye on.
Regards,
Andris Reinman
Grafinger Str. 6