This is a port of stream.js (http://www.streamjs.org/) .