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

x/dtils/deps.ts>pathUtils.normalizeGlob

The best unofficial library of utilities for Deno applications
Go to Latest
function pathUtils.normalizeGlob
import { pathUtils } from "https://deno.land/x/dtils@1.8.0/deps.ts";
const { normalizeGlob } = pathUtils;

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

Parameters

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

Returns

string