Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
import * as mod from "https://deno.land/std@0.191.0/collections/sliding_windows.ts";

Functions

Generates sliding views of the given array of the given size and returns a new array containing all of them.