eachslice
v0.0.4
Published
eachSlice([1,2,3,4,5], 2) -> [[1,2], [3,4], [5]]
Downloads
2
Readme
eachslice
Prototype does not pollute each slice implementation
How to use
const eachSlice = require('eachslice');
eachSlice([1,2,3], 2) // -> [[1,2], [3]]
License
MIT