node package manager

each-cons

readme.md

NPM

each_cons for node

npm install each-cons

var eachCons = require('each-cons')
 
eachCons([1,2,3,4], 3)
=> [[1,2,3], [2,3,4]]