Skip to content

Function: nodeFacts()

Documentation / @wtf/platform-node / dirs / nodeFacts

function nodeFacts(): PlatformFacts;

Defined in: packages/platform-node/src/dirs.ts:17

The facts of the platform Node runs on, as node:os and node:process say them, now; and the folder the process works in, process.cwd(), read each time it is asked, so a chdir shows.

Returns

PlatformFacts