Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/deno/std/fs/walk.ts

A modern runtime for JavaScript and TypeScript.
Go to Latest
import * as deno from "https://deno.land/x/deno@v0.22.0/std/fs/walk.ts";

Functions

Walks the file tree rooted at root, yielding each file or directory in the tree filtered according to the given options. The files are walked in lexical order, which makes the output deterministic but means that for very large directories walk() can be inefficient.

Same as walk() but uses synchronous ops