
Security News
npm Adopts OIDC for Trusted Publishing in CI/CD Workflows
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
email-reply-parser
Advanced tools
Node library for parsing plain text email content. Based on https://github.com/willdurand/EmailReplyParser
Email Reply Parser is a node library to parse plain-text email replies and extract content
This library supports most email replies, signatures and locales.
😘 Maintainer: @baptistejamin
![]() |
Crisp |
👋 You use this library and you want to be listed there? Contact us.
Install the project using NPM:
npm install --save email-reply-parser
By default, the library relies on the RE2 regex engine, which provides better performance and avoids issues like ReDOS. By default, RE2 will be installed as a peer dependency.
If you want to explicitly exclude RE2, then npm uninstall re2
.
This library is used at Crisp everyday with around 1 million inbound emails. Over the years, we improved this library so it can work with most emails.
On DATE, NAME <EMAIL> wrote:
Sent from my iPhone
Best wishes
var EmailReplyParser = require("email-reply-parser");
var email = new EmailReplyParser().read(MY_EMAIL_STRING);
console.log(email.getVisibleText());
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
email-reply-parser is released under the MIT License. See the bundled LICENSE file for details.
FAQs
Node library for parsing plain text email content. Based on https://github.com/willdurand/EmailReplyParser
The npm package email-reply-parser receives a total of 24,781 weekly downloads. As such, email-reply-parser popularity was classified as popular.
We found that email-reply-parser demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.