encode-quoted-printable

v0.1.1
Encode a string to a quoted printable format for emails
email quoted-printable mime

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);
npm i encode-quoted-printable

Metadata

Downloads

Maintainers