encode-quoted-printable

Encode a string to a quoted printable format for emails

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
encode-quoted-printable
300.1.110 years ago10 years agoMinified + gzip package size for encode-quoted-printable in KB

Readme

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 quotedprintableencode 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);