0.0.9 • Published 10 years ago

mailstrip v0.0.9

Weekly downloads
112
License
-
Repository
github
Last release
10 years ago

mailstrip

simple function that intent to strip signature and history from an email to return only the content body. Its just a simple list of regexp that defines where the email need to be truncated each regexp has its own test.

Feel free to contribute by adding, a regexp and a testcase (tests are built with mocha & chai)

install

npm install mailstrip

usage

var mailstrip = require('mailstrip')
  , content = mailstrip(emailBody);

test

# build first
$ cake build

# run mocha
$ mocha
0.0.9

10 years ago

0.0.8

12 years ago

0.0.7

12 years ago

0.0.6

12 years ago

0.0.4

12 years ago

0.0.3

12 years ago

0.0.1

12 years ago