/email-reply-parser

Node library for parsing plain text email content.

Primary LanguageJavaScript

Email Reply Parser

Build Status NPM

Email Reply Parser is a library to parse plain-text email replies and extract content

This library suppots most email replies, signatures and locales.

Who uses it?

Crisp

👋 You use this library and you want to be listed there? Contact us.

Installation

Install the project using NPM:

npm install --save email-reply-parser

Usage

var EmailReplyParser = require("email-reply-parser");

var email =  new EmailReplyParser().read(MY_EMAIL_STRING);

console.log(email.getVisibleText());

Contributing

Feel free to fork this project and submit fixes. We may adapt your code to fit the codebase.

You can run unit tests using:

npm test

Credits

License

email-reply-parser is released under the MIT License. See the bundled LICENSE file for details.