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

std/path/_util.ts>normalizeString

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

Parameters

path: string
allowAboveRoot: boolean
separator: string
isPathSeparator: (code: number) => boolean

Returns

string