imap-message-stream

Use with node-imap's ImapMessage. Pipe like a pro.

npm install imap-message-stream
4 downloads in the last week
8 downloads in the last month

imap-message-stream

Use with node-imap's ImapMessage. Pipe like a pro.

Install

stable

npm install imap-message-stream

edge

npm install https://github.com/daxxog/imap-message-stream/tarball/master

Example

ImapMessageStream = require('imap-message-stream');
fetch.on('message', function(msg) {
    var ws = fs.createWriteStream('raw.email'),
        ims = ImapMessageStream(msg);

    ims.pipe(ws);
});
npm loves you