Category: Node.js

0

Chapter 29: Node.js Streams

1. What is a stream? (the simplest mental model) A stream is a continuous flow of data that you can read from or write to piece by piece — instead of loading everything into...

0

Chapter 30: Node.js Buffer Module

1. What is a Buffer in Node.js? (the honest explanation) A Buffer is Node.js’s way of handling raw binary data. In JavaScript, normal strings are Unicode (UTF-16 internally). They are perfect for text, but...

0

Chapter 31: Node.js Crypto Module

1. What is the crypto module? (the honest explanation) node:crypto is Node.js’s built-in cryptographic toolkit. It gives you access to: Hashing (SHA-256, SHA-512, MD5, etc.) HMAC (keyed hashing) Encryption / decryption (AES, ChaCha20, etc.)...

0

Chapter 32: Node.js Timers Module

1. What is the Timers module in Node.js? The timers module provides functions to schedule execution of code after a delay or at regular intervals. These are the four main functions you will use...

0

Chapter 33: Node.js DNS Module

1. What is the DNS module in Node.js? The node:dns module lets your Node.js program perform DNS lookups (resolve domain names to IP addresses), reverse lookups (IP → domain name), and some other DNS-related...

0

Chapter 34: Node.js Assert Module

1. What is the assert module? (the honest explanation) The assert module is Node.js’s built-in assertion library. Its only job is to check whether something is true, and throw an error immediately if it...

0

Chapter 35: Node.js Util Module

1. What is the util module? The util module is a small but extremely useful collection of utility functions that don’t belong anywhere else. It’s like Node.js’s “miscellaneous helpers” drawer. Most functions in util...

0

Chapter 36: Node.js Readline Module

1. What is the readline module and why do we need it? readline is a built-in core module that lets you read input from a readable stream line by line — most commonly from...

0

Chapter 37: JS & TS Features

JavaScript & TypeScript features that matter most when working with Node.js (especially in 2025–2026). I will speak as if we are sitting together in a coding session — I’m showing you code, explaining why...

0

Chapter 38: Node.js ES6+ Features

ES6+ (modern JavaScript) features that matter the most when writing Node.js code in 2025–2026. I will explain each feature as if we are sitting together: Why it exists What problem it solves How it...