Skip to content

Function: posixPath()

Documentation / @wtf/platform / path / posixPath

function posixPath(__namedParameters?): Path;

Defined in: packages/platform/src/path/posix.ts:92

The path of POSIX, by /, of the working folder cwd gives (/ by default), which resolve resolves a relative path against: what node:path’s posix does, with nothing of a platform.

Parameters

ParameterType
__namedParameters{ cwd?: () => string; }
__namedParameters.cwd?() => string

Returns

Path