Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/hex/src/cli/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/cli/deps.ts";
const { normalize } = pathPosix;

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

Parameters

path: string

to be normalized

Returns

string