batch-stream2
Advanced tools
Comparing version 0.1.2 to 0.1.3
@@ -10,3 +10,4 @@ var stream = require('readable-stream') | ||
options || (options = {}) | ||
stream.Transform.call(this, { objectMode : true }) | ||
options.objectMode = true | ||
stream.Transform.call(this, options) | ||
this.size = options.size || 100 | ||
@@ -13,0 +14,0 @@ this.timeout = 'timeout' in options ? options.timeout : 5000 |
{ | ||
"name": "batch-stream2", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"description": "Transform a stream into batches, with custom async operation before emitting data", | ||
@@ -5,0 +5,0 @@ "dependencies": { |
3445
59