Node.js Core Modules
Essential Node.js built-in modules including File System, HTTP, Process, OS, Crypto, Streams, and Events
Table of Contents
File System (fs)
Read, write, and manipulate files and directories
File Operations
Read, write, delete files with async and sync methods
Path Module
Work with file and directory paths across platforms
Directory Operations
Create, read, and remove directories
HTTP & HTTPS
Create servers and make HTTP requests
HTTP Server
Create HTTP servers to handle web requests
HTTP Client Requests
Make HTTP requests to external APIs and services
Process & OS
Interact with system processes and operating system
Process Module
Access command line arguments, environment, and control process
OS Module
Get operating system information and utilities
Child Process
Execute system commands and spawn new processes
Crypto & Buffer
Cryptography operations and binary data handling
Crypto Module
Cryptographic functionality for hashing, encryption, and security
Buffer Module
Handle binary data and convert between encodings
Streams & Events
Handle streaming data and event-driven programming
Streams
Process data piece by piece without loading all into memory
Event Emitter
Create and handle custom events for async communication
Utilities & Advanced
Utility functions and advanced Node.js features
URL & QueryString
Parse and construct URLs and query strings
Util Module
Utility functions for debugging and promisification
Worker Threads
Run JavaScript in parallel threads for CPU-intensive tasks
Cluster Module
Scale Node.js apps across multiple CPU cores