Split an array into arrays of a specific length
npm install split-array> Split an array into arrays of a specific length
```
$ npm install --save split-array
`js
var splitArray = require('split-array');
splitArray(['a', 'b', 'c', 'd', 'e', 'f'], 2);
//=> [['a', 'b'], ['c', 'd'], ['e', 'f']]
splitArray(['a', 'b', 'c', 'd', 'e', 'f', 'foo'], 3);
//=> [['a', 'b', 'c'], ['d', 'e', 'f'], ['foo']]
`
#### array
Required
Type: array
The array to split up.
#### maxLength
Required
Type: number`
The maximum amount of items a partial can have
MIT © Arthur Verschaeve