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

std/path/mod.ts>normalizeGlob

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
function normalizeGlob
import { normalizeGlob } from "https://deno.land/std@0.218.0/path/mod.ts";

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

Parameters

glob: string
optional
options: GlobOptions = [UNSUPPORTED]

Returns

string