(Node.js) Extend the native Array with the methods that work with Highland (a JS stream lib).
Caution: this will pollute your native JS
Highland is a "high-level streams library for Node.js and the browser".
This is a Node.js module. This module extends the native JS
Array with the methods that work with Highland.
This can be also used in the browsers, but not tested.
It returns a Highland stream which once consumed, will shift items from the array. Example:
;// or `require('carcass')` if you have carcass installed.var theArray = 1 2 3 4;theArray;// optionally give it a callbackvar theArray = 1 2 3 4;theArray;