{"_id":"@aldenquimby/email-reply-parser","name":"@aldenquimby/email-reply-parser","dist-tags":{"latest":"1.9.0"},"versions":{"1.9.0":{"name":"@aldenquimby/email-reply-parser","version":"1.9.0","description":"Node library for parsing plain text email content. Based on https://github.com/willdurand/EmailReplyParser","main":"lib/emailreplyparser.js","homepage":"https://github.com/aldenquimby/email-reply-parser","repository":{"type":"git","url":"git://github.com/aldenquimby/email-reply-parser.git"},"scripts":{"test":"node ./node_modules/nodeunit/bin/nodeunit test/test.js"},"engines":{"node":">= 10.0.0"},"author":{"name":"Crisp IM SAS"},"license":"MIT","devDependencies":{"nodeunit":"v0.11.3","re2":"1.21.4","underscore":"v1.13.6"},"peerDependencies":{"re2":"1.21.4"},"peerDependenciesMeta":{"re2":{"optional":true}},"_id":"@aldenquimby/email-reply-parser@1.9.0","gitHead":"543c524bf1e341503f88370f22f8fb7197224415","bugs":{"url":"https://github.com/aldenquimby/email-reply-parser/issues"},"_nodeVersion":"18.20.4","_npmVersion":"10.7.0","dist":{"integrity":"sha512-aAgUsAQ9FJPenx12BVQuU2yO6VRZ1KdqQ4mWMvTn7Srf9H2ZphVr12ioOdtXDBslw0Au3a5fBcB/bPpNKGJWlA==","shasum":"eec08c5f533061529dec1308805899cad4852791","tarball":"https://registry.npmjs.org/@aldenquimby/email-reply-parser/-/email-reply-parser-1.9.0.tgz","fileCount":9,"unpackedSize":14420,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDt1ELJhGcTluWTZxgvFwgqDjBzgvZYrEgG7cb3IhBlqQIhAMEg6UxRjjl1ThOwE4xUF9rjjnfIAvTIUB49DIolAQgg"}]},"_npmUser":{"name":"aldenquimby","email":"aldenquimby+npm@gmail.com"},"directories":{},"maintainers":[{"name":"aldenquimby","email":"aldenquimby+npm@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/email-reply-parser_1.9.0_1732199427965_0.0996993725802593"},"_hasShrinkwrap":false}},"time":{"created":"2024-11-21T14:30:27.815Z","1.9.0":"2024-11-21T14:30:28.169Z","modified":"2024-11-21T14:30:28.470Z"},"maintainers":[{"name":"aldenquimby","email":"aldenquimby+npm@gmail.com"}],"description":"Node library for parsing plain text email content. Based on https://github.com/willdurand/EmailReplyParser","homepage":"https://github.com/aldenquimby/email-reply-parser","repository":{"type":"git","url":"git://github.com/aldenquimby/email-reply-parser.git"},"author":{"name":"Crisp IM SAS"},"bugs":{"url":"https://github.com/aldenquimby/email-reply-parser/issues"},"license":"MIT","readme":"# Email Reply Parser\n\n[![Test and Build](https://github.com/crisp-oss/email-reply-parser/workflows/Test%20and%20Build/badge.svg?branch=master)](https://github.com/crisp-oss/email-reply-parser/actions?query=workflow%3A%22Test+and+Build%22) [![Build and Release](https://github.com/crisp-oss/email-reply-parser/workflows/Build%20and%20Release/badge.svg)](https://github.com/crisp-oss/email-reply-parser/actions?query=workflow%3A%22Build+and+Release%22) [![NPM](https://img.shields.io/npm/v/email-reply-parser.svg)](https://www.npmjs.com/package/email-reply-parser) [![Downloads](https://img.shields.io/npm/dt/email-reply-parser.svg)](https://www.npmjs.com/package/email-reply-parser)\n\n**Email Reply Parser is a node library to parse plain-text email replies and extract content**\n\nThis library supports most email replies, signatures and locales.\n\n**😘 Maintainer**: [@baptistejamin](https://github.com/baptistejamin)\n\n## Who uses it?\n\n<table>\n<tr>\n<td align=\"center\"><a href=\"https://crisp.chat/\"><img src=\"https://crisp.chat/favicon-256x256.png\" height=\"64\" /></a></td>\n</tr>\n<tr>\n<td align=\"center\">Crisp</td>\n</tr>\n</table>\n\n_👋 You use this library and you want to be listed there? [Contact us](https://crisp.chat/)._\n\n## Installation\n\nInstall the project using NPM:\n\n``` javascript\nnpm install --save email-reply-parser\n```\n\n## Features\n\nThis library is used at [Crisp](https://crisp.chat/) everyday with around 1 million inbound emails. Over the years, we improved this library so it can work with most emails.\n\n- Strip email replies like `On DATE, NAME <EMAIL> wrote:`\n- Supports around **10 locales**, including English, French, Spanish, Portuguese, Italian, Japanese, Chinese.\n- Removes signatures like `Sent from my iPhone`\n- Removes signatures like `Best wishes`\n\n## Usage\n\n``` javascript\nvar EmailReplyParser = require(\"email-reply-parser\");\n\nvar email =  new EmailReplyParser().read(MY_EMAIL_STRING);\n\nconsole.log(email.getVisibleText());\n```\n\n## Contributing\n\nFeel free to fork this project and submit fixes. We may adapt your code to fit the codebase.\n\nYou can run unit tests using:\n\n``` javascript\nnpm test\n```\n\n## Credits\n\n* GitHub\n* William Durand <william.durand1@gmail.com>\n* Crisp IM\n\n## License\n\nemail-reply-parser is released under the MIT License. See the bundled LICENSE file for details.\n\n","readmeFilename":"README.md"}