swift-transform
Parallelized transform streams for everyone!
NOTE: Order is not guaranteed!
Installation
$ npm install swift-transform
Usage
The swift transform stream is a drop-in replacement to nodejs TransformStream
and adds a concurrency
option that allows you to control the number of concurrent transformations.
var SwiftTransformStream = Transform; { SwiftTransformStream;} util; // ------------------------------------ MyTransformStreamprototype { // ..}; MyTransformStreamprototype { // ..}; moduleexports = MyTransformStream;
In cases you have a transform stream which you do not own but want to parallelize it:
var swiftTransform = ; readableStream;
Tests
$ npm test
License
Released under the MIT License.