Skip to content
masterclass Buddy

Node.js · Module

node:process

The global process object provides information about and control over the current Node.js process. It is also an EventEmitter for process lifecycle and error events.

Last updated

Since
v0.10.0

Syntax

import process from 'node:process';
const process = require('node:process');

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • process.exitCode
  • process.exit()
  • process.on()
  • beforeExit
  • exit
  • unhandledRejection
  • rejectionHandled
  • uncaughtException

Source: Process | Node.js 26.13.0 Documentation. Checked 2026-11-03.