Skip to main content

Module process

Module process 

Source
Expand description

A deliberately small, sandbox-safe process global.

Node’s process is mostly ambient authority; this exposes only the members that are either inert (platform/version/timing) or capability-gated (env). Everything that could escape the sandbox (binding, dlopen, chdir, kill, setuid, real exit) is absent or neutered. process.env is the operator’s allow-list intersected with the real environment — empty by default.

Functions§

install
Install globalThis.process. Called once per session (the values are session-stable: env comes from resolved config, the monotonic clock anchors at session start).