parallel-transform
Transform stream for Node.js that allows you to run your transforms in parallel without changing the order of the output.
It is easy to use
If you run the above example you'll notice that it runs in parallel (does not take ~1 second between each print) and that the order is preserved
Stream options
All transforms are Node 0.10 streams. Per default they are created with the options {objectMode:true}
. If you want to use your own stream options pass them as the second parameter
Unordered
Passing the option {ordered:false}
will output the data as soon as it's processed by a transform, without waiting to respect the order.
License
MIT
Last updated