A transform stream that clumps data into an array of a specified size. The oldest items in the array are replaced by the newer items as they stream in.
$ npm install transform-clump --save
var stream = ;var clump = ;var source = stream;var dest = stream;var result;source;dest;dest;for var i = 0 j = 5; i < j; i++ source;source;
var clump = transformClump(size)
Initialise a new
TransformClump with the given
$ make test
To generate a coverage report:
$ make test-cov
- urlgrey for the Makefile inspiration.