node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org ยป

mime-base64-stream

MIME Base64 Stream

Travis CI Test Status

Transform content in to base64 wrapped at 76 characters for MIME emails

npm install mime-base64-stream

To use:

var mimeBase64Stream = require('mime-base64-stream');

content.pipe(mimeBase64Stream()).pipe(process.stdout);