encode-quoted-printable
v0.1.1
Published
Encode a string to a quoted printable format for emails
Downloads
184
Readme
Encode Quoted Printable
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);