0.0.2 • Published 3 years ago
@fantasmagor/group-array-elements v0.0.2
group-array-elements
Simply package to split arrays into equal chunks
Installation
$npm install @fantasmagor/group-array-elements
Usage
const groupArrayElements = require('group-array-elements');
const resultedArray = groupArrayElements(array, partSize)
Tests
To run the test suite, install the dependencies, then run npm test
:
$ npm install
$ npm test