Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

each-cons

coleww5.3kMIT1.0.0

Array#each_cons for node

each, consecutive, each_cons, array

readme

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]]