mailparser
DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/mailparser package

3.7.0 • Public • Published

mailparser

Nodemailer

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.

Looking for a front-end solution?

mailparser is Node.js only library, so you can't use it reliably in the front-end or bundle with WebPack. If you do need a solution to parse emails in the front-end then use PostalMime.

Installation

First install the module from npm:

$ npm install mailparser

next import the mailparser object into your script:

const mailparser = require('mailparser');

Usage

See mailparser homepage for documentation and terms.

License

Licensed under MIT

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 3.7.0
    124,376
    • latest

Version History

Package Sidebar

Install

npm i mailparser

Weekly Downloads

739,282

Version

3.7.0

License

MIT

Unpacked Size

52.4 kB

Total Files

13

Last publish

Collaborators

  • andris