groupify

2.0.0 • Public • Published

Groupify License NPM version Dependency Status Build Status

Divide array by n elements in groups.

Install

npm i groupify --save
bower i groupify --save

How to use?

groupify(3, [1,2,3,4,5,6]);
// returns
[[1,2], [3,4], [5,6]]

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i groupify

Weekly Downloads

1

Version

2.0.0

License

MIT

Last publish

Collaborators

  • coderaiser