Skip to main content
default.PlatformPath.parse - path - Node documentation
method default.PlatformPath.parse

Usage in Deno

import type mod from "node:path";
PlatformPath.parse(path: string): ParsedPath

Returns an object from a path string - the opposite of format().

Parameters

path: string

path to evaluate.

Return Type

Throws

TypeError

if path is not a string.

Back to top