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.172.0/path/mod.ts";

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

Parameters

glob: string
optional
unnamed 1: GlobOptions = [UNSUPPORTED]

Returns

string