Groupify 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