Category: Node.js

0

Chapter 19: Node.js Managing Dependencies

1. What does “managing dependencies” actually mean? In a Node.js project you usually have two kinds of external code you depend on: Type Purpose Installed where? Example packages Lives in production build? dependencies Libraries...

0

Chapter 21: Core Modules

1. What are Core Modules? Core modules (also called built-in modules) are modules that come pre-installed with every Node.js installation. You do not need to run npm install to use them — they are...

0

Chapter 22: Node.js HTTP Module

1. What is the http module really? node:http is the lowest-level built-in module in Node.js that lets you: Create HTTP servers (listen for incoming requests) Make HTTP client requests (talk to other servers) It...

0

Chapter 23: Node.js HTTPS Module

1. What is the https module and how is it different from http? node:https is almost identical to node:http, but it adds TLS/SSL encryption. Feature node:http node:https Protocol HTTP (unencrypted) HTTPS (encrypted via TLS/SSL)...

0

Chapter 24: Node.js File System Module

1. What is the File System module? node:fs is the built-in module that lets your Node.js program read files, write files, create/delete directories, check file existence, get file stats, watch for changes, and more....

0

Chapter 25: Node.js Path Module

1. What is the path module and why do you absolutely need it? The path module is a core built-in module that helps you work with file paths and directories in a cross-platform safe...

0

Chapter 26: Node.js OS Module

1. What is the os module? node:os is a very small but extremely useful built-in module that gives your Node.js program information about the operating system it is running on. It answers questions like:...

0

Chapter 27: Node.js URL Module

1. What is the url module and why do you need it? The node:url module is a built-in core module that helps you parse, format, resolve, and manipulate URLs in a safe, standard-compliant way....

0

Chapter 28: Node.js Events

1. What is the events module and why is it so important? The events module is one of the most fundamental pieces of Node.js. Almost everything asynchronous in Node.js is built on top of...