splitray
v0.0.2
Published
Clone and split array into smaller arrays on length specified
Readme
splitray
Break an array up into smaller arrays. Useful for organizing jade views server side and slowing down requests ( e.g. var responses = yield [get(..), get(..)] ).
Example
var splitray = require('splitray');
var result = splitray([1,2,3,4,5], 2) // result = [[1,2], [3,4], [5]]
Installation
$ npm install splitrayLicence
MIT
