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

x/hex/src/web/deps.ts>pathPosix.normalize

An ecosystem delivering practices, philosophy and portability.
Go to Latest
function pathPosix.normalize
import { pathPosix } from "https://deno.land/x/hex@0.5.15/src/web/deps.ts";
const { normalize } = pathPosix;

Normalize the path, resolving '..' and '.' segments.

Parameters

path: string

to be normalized

Returns

string