Skip to main content

Module process

Module process 

Source
Expand description

Node process global — the subset packages read at load time.

Data properties (process.env, process.argv, process.platform, the stdout/stderr stream stand-ins, …) are served through constant; callable members (process.cwd(), process.hrtime(), the EventEmitter-style on/emit no-ops, …) through call. process.nextTick is intentionally NOT handled here — it stays on the core microtask path in builtins.rs.

Constants§

METHODS
Callable members. nextTick is deliberately absent (handled in builtins).

Functions§

call
constant
Data properties, served through namespace_property → stdlib::constant.
stream_instance_call
Instance methods of a process.stdout/stderr WriteStream: write/end emit the chunk raw (no newline) to the stream’s fd, so ordering interleaves correctly with console.log.