tax_collector

Collect the contents of a stream

npm install tax_collector
12 downloads in the last month

Tax Collector

Build Status

Collecting all of the things

Collects all of the data on a stream and emits 'ready' when stream is finished

Example

var TaxCollector = require('tax_collector');

var stream = getSomeReadableStream();

var collector = new TaxCollector();

stream.pipe(collector);

collector.on('ready', function(text) {
  // Do something with text
});
npm loves you