MCPcopy Create free account
hub / github.com/denoland/std / normalize

Function normalize

path/normalize.ts:31–33  ·  view source on GitHub ↗
(path: string | URL)

Source from the content-addressed store, hash-verified

29 * @returns The normalized path.
30 */
31export function normalize(path: string | URL): string {
32 return isWindows ? windowsNormalize(path) : posixNormalize(path);
33}

Callers 4

createWalkEntrySyncFunction · 0.90
createWalkEntryFunction · 0.90
expandGlobArrayFunction · 0.90
expandGlobSyncArrayFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected