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

std/node/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.158.0/node/path/mod.ts";

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

Parameters

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

Returns

string