Skip to main content
Module

x/dax/src/path.ts>Path#normalize

Cross-platform shell tools for Deno and Node.js inspired by zx.
Very Popular
Latest
method Path.prototype.normalize
import { Path } from "https://deno.land/x/dax@0.39.2/src/path.ts";

Normalizes 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 '.'.