Skip to main content

Module path

Module path 

Source
Expand description

node:path โ€” POSIX-style pure string operations.

join, resolve, dirname, basename, extname, normalize, relative, isAbsolute, sep, delimiter. resolve roots at process.cwd() โ€” the sandbox root this runtime reports, not the real process directory. No win32 flavour, and no parse / format yet.

Functionsยง

path_object
Build the path module object (fresh per call; only built once per session by the module loader).