1.0.1 • Published 10 years ago
blow-chunks v1.0.1
blow-chunks  
  
 
split an array into arbitrary length pieces
this doesn't modify the array prototype. which means you have to invoke it by using function.prototype.call, kinda sucks, but hey...
install
npm install --save blow-chunksusage
var chunk = require('blow-chunks');
chunk([1, 2, 3, 4, 5, 6], 2);
// [[1, 2], [3, 4], [5, 6]]