Package Exports
- memory-stream
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (memory-stream) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
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);