Review: Stream.js

Stream.js by dionyziz unlocks array like data structure called Stream with methods like head, tail, range, filter, take, print and lot more.

It supports infinte number of elements with the help of its lazy evaluation technique. (Ah!! What is it?) In lazy evaluation technique you process data only when get request is called. Find some amazing examples and code challenges (see at bottom of doc page).

Even though Stream unlocks pretty awesome data structure, it should only be used if you actually need something more than basic Array object.

Stream.js is also ported to CoffeScript: coffeestream and to PHP: streamphp.

Go Fork it on github.

This entry was published on 17th Sep, 2011.