├── .github └── workflows │ └── main.yml ├── .gitignore ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── index.d.ts ├── index.js ├── lib ├── Email.js ├── Fragment.js └── Parser.js ├── package.json ├── test ├── ModuleTest.js ├── ParserTest.js ├── fixtures │ ├── correct_sig.txt │ ├── email_1.txt │ ├── email_10.txt │ ├── email_11.txt │ ├── email_12.txt │ ├── email_13.txt │ ├── email_14.txt │ ├── email_15.txt │ ├── email_16.txt │ ├── email_17.txt │ ├── email_18.txt │ ├── email_19.txt │ ├── email_2.txt │ ├── email_20.txt │ ├── email_21.txt │ ├── email_2_1.txt │ ├── email_3.txt │ ├── email_4.txt │ ├── email_5.txt │ ├── email_6.txt │ ├── email_7.txt │ ├── email_8.txt │ ├── email_9.txt │ ├── email_blackberry.txt │ ├── email_bullets.txt │ ├── email_custom_quote_header.txt │ ├── email_customer_quote_header_2.txt │ ├── email_customer_quote_header_3.txt │ ├── email_iphone.txt │ ├── email_multi_word_sent_from_my_mobile_device.txt │ ├── email_norwegian_gmail.txt │ ├── email_one_is_not_on.txt │ ├── email_quote_header_without_new_line.txt │ ├── email_sent_from_my_not_signature.txt │ ├── email_thread.txt │ ├── email_unquoted_reply.txt │ ├── email_with_date_headers.txt │ ├── email_with_from_headers.txt │ └── sig_no_empty_line.txt └── utils.js └── yarn.lock /.github/workflows/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/t2bot/node-email-reply-parser/HEAD/.github/workflows/main.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/t2bot/node-email-reply-parser/HEAD/.gitignore -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/t2bot/node-email-reply-parser/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/t2bot/node-email-reply-parser/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/t2bot/node-email-reply-parser/HEAD/README.md -------------------------------------------------------------------------------- /index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/t2bot/node-email-reply-parser/HEAD/index.d.ts -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/t2bot/node-email-reply-parser/HEAD/index.js -------------------------------------------------------------------------------- /lib/Email.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/t2bot/node-email-reply-parser/HEAD/lib/Email.js -------------------------------------------------------------------------------- /lib/Fragment.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/t2bot/node-email-reply-parser/HEAD/lib/Fragment.js -------------------------------------------------------------------------------- /lib/Parser.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/t2bot/node-email-reply-parser/HEAD/lib/Parser.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/t2bot/node-email-reply-parser/HEAD/package.json -------------------------------------------------------------------------------- /test/ModuleTest.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/t2bot/node-email-reply-parser/HEAD/test/ModuleTest.js -------------------------------------------------------------------------------- /test/ParserTest.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/t2bot/node-email-reply-parser/HEAD/test/ParserTest.js -------------------------------------------------------------------------------- /test/fixtures/correct_sig.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/t2bot/node-email-reply-parser/HEAD/test/fixtures/correct_sig.txt -------------------------------------------------------------------------------- /test/fixtures/email_1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/t2bot/node-email-reply-parser/HEAD/test/fixtures/email_1.txt -------------------------------------------------------------------------------- /test/fixtures/email_10.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/t2bot/node-email-reply-parser/HEAD/test/fixtures/email_10.txt -------------------------------------------------------------------------------- /test/fixtures/email_11.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/t2bot/node-email-reply-parser/HEAD/test/fixtures/email_11.txt -------------------------------------------------------------------------------- /test/fixtures/email_12.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/t2bot/node-email-reply-parser/HEAD/test/fixtures/email_12.txt -------------------------------------------------------------------------------- /test/fixtures/email_13.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/t2bot/node-email-reply-parser/HEAD/test/fixtures/email_13.txt -------------------------------------------------------------------------------- /test/fixtures/email_14.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/t2bot/node-email-reply-parser/HEAD/test/fixtures/email_14.txt -------------------------------------------------------------------------------- /test/fixtures/email_15.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/t2bot/node-email-reply-parser/HEAD/test/fixtures/email_15.txt -------------------------------------------------------------------------------- /test/fixtures/email_16.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/t2bot/node-email-reply-parser/HEAD/test/fixtures/email_16.txt -------------------------------------------------------------------------------- /test/fixtures/email_17.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/t2bot/node-email-reply-parser/HEAD/test/fixtures/email_17.txt -------------------------------------------------------------------------------- /test/fixtures/email_18.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/t2bot/node-email-reply-parser/HEAD/test/fixtures/email_18.txt -------------------------------------------------------------------------------- /test/fixtures/email_19.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/t2bot/node-email-reply-parser/HEAD/test/fixtures/email_19.txt -------------------------------------------------------------------------------- /test/fixtures/email_2.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/t2bot/node-email-reply-parser/HEAD/test/fixtures/email_2.txt -------------------------------------------------------------------------------- /test/fixtures/email_20.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/t2bot/node-email-reply-parser/HEAD/test/fixtures/email_20.txt -------------------------------------------------------------------------------- /test/fixtures/email_21.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/t2bot/node-email-reply-parser/HEAD/test/fixtures/email_21.txt -------------------------------------------------------------------------------- /test/fixtures/email_2_1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/t2bot/node-email-reply-parser/HEAD/test/fixtures/email_2_1.txt -------------------------------------------------------------------------------- /test/fixtures/email_3.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/t2bot/node-email-reply-parser/HEAD/test/fixtures/email_3.txt -------------------------------------------------------------------------------- /test/fixtures/email_4.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/t2bot/node-email-reply-parser/HEAD/test/fixtures/email_4.txt -------------------------------------------------------------------------------- /test/fixtures/email_5.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/t2bot/node-email-reply-parser/HEAD/test/fixtures/email_5.txt -------------------------------------------------------------------------------- /test/fixtures/email_6.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/t2bot/node-email-reply-parser/HEAD/test/fixtures/email_6.txt -------------------------------------------------------------------------------- /test/fixtures/email_7.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/t2bot/node-email-reply-parser/HEAD/test/fixtures/email_7.txt -------------------------------------------------------------------------------- /test/fixtures/email_8.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/t2bot/node-email-reply-parser/HEAD/test/fixtures/email_8.txt -------------------------------------------------------------------------------- /test/fixtures/email_9.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/t2bot/node-email-reply-parser/HEAD/test/fixtures/email_9.txt -------------------------------------------------------------------------------- /test/fixtures/email_blackberry.txt: -------------------------------------------------------------------------------- 1 | Here is another email 2 | 3 | Sent from my BlackBerry 4 | -------------------------------------------------------------------------------- /test/fixtures/email_bullets.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/t2bot/node-email-reply-parser/HEAD/test/fixtures/email_bullets.txt -------------------------------------------------------------------------------- /test/fixtures/email_custom_quote_header.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/t2bot/node-email-reply-parser/HEAD/test/fixtures/email_custom_quote_header.txt -------------------------------------------------------------------------------- /test/fixtures/email_customer_quote_header_2.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/t2bot/node-email-reply-parser/HEAD/test/fixtures/email_customer_quote_header_2.txt -------------------------------------------------------------------------------- /test/fixtures/email_customer_quote_header_3.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/t2bot/node-email-reply-parser/HEAD/test/fixtures/email_customer_quote_header_3.txt -------------------------------------------------------------------------------- /test/fixtures/email_iphone.txt: -------------------------------------------------------------------------------- 1 | Here is another email 2 | 3 | Sent from my iPhone 4 | -------------------------------------------------------------------------------- /test/fixtures/email_multi_word_sent_from_my_mobile_device.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/t2bot/node-email-reply-parser/HEAD/test/fixtures/email_multi_word_sent_from_my_mobile_device.txt -------------------------------------------------------------------------------- /test/fixtures/email_norwegian_gmail.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/t2bot/node-email-reply-parser/HEAD/test/fixtures/email_norwegian_gmail.txt -------------------------------------------------------------------------------- /test/fixtures/email_one_is_not_on.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/t2bot/node-email-reply-parser/HEAD/test/fixtures/email_one_is_not_on.txt -------------------------------------------------------------------------------- /test/fixtures/email_quote_header_without_new_line.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/t2bot/node-email-reply-parser/HEAD/test/fixtures/email_quote_header_without_new_line.txt -------------------------------------------------------------------------------- /test/fixtures/email_sent_from_my_not_signature.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/t2bot/node-email-reply-parser/HEAD/test/fixtures/email_sent_from_my_not_signature.txt -------------------------------------------------------------------------------- /test/fixtures/email_thread.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/t2bot/node-email-reply-parser/HEAD/test/fixtures/email_thread.txt -------------------------------------------------------------------------------- /test/fixtures/email_unquoted_reply.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/t2bot/node-email-reply-parser/HEAD/test/fixtures/email_unquoted_reply.txt -------------------------------------------------------------------------------- /test/fixtures/email_with_date_headers.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/t2bot/node-email-reply-parser/HEAD/test/fixtures/email_with_date_headers.txt -------------------------------------------------------------------------------- /test/fixtures/email_with_from_headers.txt: -------------------------------------------------------------------------------- 1 | 2 | [FROM] 3 | 4 | My email is -------------------------------------------------------------------------------- /test/fixtures/sig_no_empty_line.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/t2bot/node-email-reply-parser/HEAD/test/fixtures/sig_no_empty_line.txt -------------------------------------------------------------------------------- /test/utils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/t2bot/node-email-reply-parser/HEAD/test/utils.js -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/t2bot/node-email-reply-parser/HEAD/yarn.lock --------------------------------------------------------------------------------