Nominating Presidential Muppets
    Wondering what’s next for npm?Check out our public roadmap! »

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

    3.2.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

    Keywords

    none

    Install

    npm i mailparser

    DownloadsWeekly Downloads

    236,656

    Version

    3.2.0

    License

    MIT

    Unpacked Size

    47.7 kB

    Total Files

    9

    Last publish

    Collaborators

    • avatar