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

x/ayonli_jsext/path.ts>normalize

A JavaScript extension package for building strong and modern applications.
Latest
function normalize
Deprecated
Deprecated

use join or sanitize instead.

import { normalize } from "https://deno.land/x/ayonli_jsext@v0.9.72/path.ts";

This function is similar to Node.js implementation, but does not preserve trailing slashes.

Since Node.js implementation is not well-designed and this function is identical as calling join(path), so it is deprecated.

Parameters

path: string

Returns

string