0.1.0 • Published 10 years ago
windowed v0.1.0
node-windowed
A sliding window of a given size over the input
Installation
npm install windowedUsage
var windowed = require('windowed');
var foo = windowed(3, [0, 1, 2, 3, 4]);
console.log(foo); // [[0, 1, 2], [1, 2, 3], [2, 3, 4]]License
The MIT License. See LICENSE.
0.1.0
10 years ago