Advanced email parser for Node.js. Everything is handled as a stream which should make it able to parse even very large messages (100MB+) with relatively low overhead.
First install the module from npm:
$ npm install mailparser
next import the
mailparser object into your script:
const mailparser = ;
See mailparser homepage for documentation and terms.
Licensed under MIT