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

x/fathym_atomic_icons/src/src.deps.ts>path.normalize

Fathym's Atomic Icons is a library that supports the optimized creation of customzied icon sets for delivery via Deno Fresh.
Go to Latest
function path.normalize
import { path } from "https://deno.land/x/fathym_atomic_icons@v0.0.32/src/src.deps.ts";
const { normalize } = path;

Normalize the path, resolving '..' and '.' segments. Note that resolving these segments does not necessarily mean that all will be eliminated. A '..' at the top-level will be preserved, and an empty path is canonically '.'.

Parameters

path: string

to be normalized

Returns

string