Package Exports
- json-array-split
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (json-array-split) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
##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