0.1.1 • Published 11 years ago

encode-quoted-printable v0.1.1

Weekly downloads
19
License
-
Repository
github
Last release
11 years ago

Encode Quoted Printable

Travis CI Test Status

This package simply exposes a single function to allow you to encode a string in to a quoted printable format that is usable in MIME emails

This code was reverse engineered from the quoted_printable_encode function within the PHP.js project. With only 3 tests, I would welcome further examples to create further tests to prove this implementation.

To install with NPM type:

npm install encode-quoted-printable

To use:

var encodeQuotedPrintable = require('encode-quoted-printable');
var text = 'This is a long email string';

encodeQuotedPrintable(text);