mailstrip

0.0.9 • Public • Published

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] 1 & [chai] 2)

install

npm install mailstrip

usage

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

test

# build first
$ cake build

# run mocha
$ mocha

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.0.973latest

Version History

VersionDownloads (Last 7 Days)Published
0.0.973
0.0.80
0.0.70
0.0.60
0.0.40
0.0.30
0.0.10

Package Sidebar

Install

npm i mailstrip

Weekly Downloads

73

Version

0.0.9

License

none

Last publish

Collaborators

  • pgherveou2