Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

parse-reply

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

parse-reply

A simple email body parser that strips out replies and quotes of original message

  • 0.0.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
617
decreased by-57.06%
Maintainers
1
Weekly downloads
 
Created
Source

parse-reply

Parse email replies with quotes and such. This is a trivial javascript library that parses email body and strips out quotes/replies/forwarded messages.

NPM info

Travis build status

Usage

   var parseReply = require('parse-reply');
   ...
   var cleanedUpBody = parseReply(originalBody);
   // now cleanedUpBody does not from: and other quoted lines

Issues

This uses a template of regular expressions and so it is not exhaustive. If you find emails for which it does not work, please report the issue by providing the sample email for which it does not work well.

Keywords

FAQs

Package last updated on 08 Oct 2014

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc