Node.js streams implementation for buffered memory writes.
JavaScript
Switch branches/tags
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
test
.gitignore
LICENSE
README.md
index.js
package.json

README.md

memory-stream

Node.js streams implementation for buffered memory writes.

Usage

var fs = require('fs');
var MemoryStream = require('memory-stream');

var rs = fs.createReadStream('source.txt');
var ws = new MemoryStream();

ws.on('finish', function() {
  console.log(ws.toString());
});

rs.pipe(ws);