Skip to content

Function: browserDirs()

Documentation / @wtf/platform-browser / dirs / browserDirs

function browserDirs(__namedParameters?): Dirs;

Defined in: packages/platform-browser/src/dirs.ts:14

The folders of a page, of POSIX paths in a file system of its own, as the origin’s private one: its home, / by default, its temporary folder, /tmp, and the folder it works in, /, the root of that file system; an app’s folders those of XDG under the home. A page has no system or architecture it says: they are browser and unknown.

Parameters

ParameterType
__namedParameters{ cwd?: string; home?: string; temp?: string; }
__namedParameters.cwd?string
__namedParameters.home?string
__namedParameters.temp?string

Returns

Dirs