groups-of
===========
Divides arrays into groups of a specified cardinality.
Usage
var groupsOf = ;var array = 34567; ; // Outputs:// the group is [3,4,5]// the group is [6,7]
Even works with strings:
var string = "oh say can you say"; // Outputs:// the group is "oh say c";// the group is "an you s";// the group is "ay";
install
npm install groups-of