Pype
Sequential stream processing with dependency injection
npm install pype --save
var pype = ;var es = ; // given a mapping streamvar { return es;}; // some dependenciesvar deps = foo: 1 { return item * 3; }; // Put the streams in an array (mindful of order!) and wrap each one in a// function which accepts dependencies as arguments.// Note: argument names MUST match a key in the deps objectvar funcs = { return utils; } { return utils; }; ;
Run Test
npm test