1.0.0 • Published 9 years ago
json-array-split v1.0.0
##About It splits a json array into arrays with specified number of elements.
##Usage
var jsonSplit = require('json-array-split')
var splitArr = jsonSplit([{'john':'doe'},{'foo':'bar'},{'bruce':wayne},{'barry':'allen'}],2);
//[ [ { john: 'doe' }, { foo: 'bar' } ],[ { bruce: 'wayne' }, { barry: 'allen' } ] ]
##Requirements
- nodejs > 0.10
- npm
##License MIT License
1.0.0
9 years ago