Skip to content

Function: nodeEnv()

Documentation / @wtf/platform-node / env / nodeEnv

function nodeEnv(__namedParameters?): Env;

Defined in: packages/platform-node/src/env.ts:15

The environment of the process: process.env itself, a live view, which reads a variable as it is when it is read, and a name of Windows’ in any case; or, with snapshot, a copy of each variable set as it is now, frozen.

Parameters

ParameterType
__namedParameters{ snapshot?: boolean; }
__namedParameters.snapshot?boolean

Returns

Env