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

std/path/glob.ts

Deno standard library
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.62.0/path/glob.ts";

Functions

Generate a regex based on glob pattern and options This was meant to be using the the fs.walk function but can be used anywhere else. Examples:

Test whether the given string is a glob

Like join(), but doesn't collapse "**/.." when globstar is true.

Like normalize(), but doesn't collapse "**/.." when globstar is true.