Stream utilities with support for stream resets.
Here's a simple and somewhat contrived example of how you might use the through stream helper to apply a math operation.
var su =through = suThroughStream;var inputs = 1 2 3outputs =doubler =;inputs;// --> outputs is: [2, 4, 6]
I needed a set of Stream utilities that would make it easier to build and reuse chains of complex Object stream mutators.
Originally I used the
event-stream package but I ran into a few issues with my use cases that drove me to roll my own solution based on what I had learned from that code.
MIT / Apache2