Collect the contents of a stream

npm install tax_collector
7 downloads in the last week
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


var TaxCollector = require('tax_collector');

var stream = getSomeReadableStream();

var collector = new TaxCollector();


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