← Reference

Node.js Modules

Core Node.js modules and APIs.

Buffer

Working with binary data in Node.js using Buffer for efficient memory allocation and manipulation.

child_process module

Node.js child_process module for spawning external processes, executing shell commands, and forking Node.js processes.

crypto module

Node.js crypto module for cryptographic operations: hashing, ciphers, signing, and secure random generation.

events module

Node.js events module for event-driven architecture. The EventEmitter class for emitting and handling custom events.

fs module

Node.js fs module for file system operations: reading, writing, updating, and deleting files and directories.

fs/promises module

Promise‑based file system API for Node.js. All fs functions return promises, enabling clean async/await code without callbacks.

node:http

HTTP server and client functionality for Node.js.

require('http')

node:https

HTTPS server and client functionality for Node.js with TLS/SSL support.

require('https')

node:url

URL parsing, resolution, and manipulation utilities for Node.js.

require('url')

os module

The os module provides operating system-related utility methods for accessing platform information, CPU architecture, memory, and network interfaces.

path module

The path module provides utilities for working with file and directory paths in a way that works across different operating systems.

process

The process object provides information about and control over the current Node.js process, including argv, env, and methods to exit or signal the process.

readline module

Readline module for reading streams interactively in Node.js

stream

Comprehensive reference for Node.js streams - readable, writable, transform, and duplex streams.