transy
Composable transform functions which could be reused for Array, Event, Stream, Channel, etc.
Inspiration
It's based on clojure's transduce. Some awesome posts explained it in Javascript worth reading:
Install
npm install transy
Example
var ty = { return x + 1} { return x % 2 === 0} var xform = ty console // => [ 6, 4, 2 ]
Note
To be frankly, the transy is kind of a subset of transducer since it used less info than tranduce, therefore, you should be able to convert any transy function to transducer.
API Document
compose
var ty = ty
chain
var ty = ty