Chunk array on small pieces
$ npm install --save array-chunk
var arrayChunk = require('array-chunk');
arrayChunk([1, 2, 3, 4], 2);
//=> [[1, 2], [3, 4]]
Required
Type: array
| TypedArray
Your array
Required
Type: number
Length of nested array , default 1
- flatten-vertex-data − flattens array data.
MIT © hzlmn