suckstream

Suck a stream into a buffer (for node <0.10.x and >=0.10.x

npm install suckstream
4 downloads in the last week
10 downloads in the last month

SuckStream

This is a simple utility, that takes a Readable Stream and sucks it into a Buffer.

 var suck = require('suckstream');
 suck(stream, function(err, buffer) {
   // I now have a Buffer
 });

This works for both Old-Style (Node < 0.9) and New-Style (Node 0.9+) streams.

npm loves you