split-groups
v0.0.1
Published
Utility to array to groups.
Downloads
28
Readme
split-groups
Utility to array to groups.
To install package:
npm install split-groups
Usage
import splitGroups from 'split-groups';
splitGroups(
[1, 2, 3, 4],
2,
)
Docs
arr
- list of items to splitcount
- count of items in group
Deploy
To install dependencies:
npm install
To build:
npm build
This project was created using bun init
in bun v1.1.0. Bun is a fast all-in-one JavaScript runtime.