First Principles · Runtime Reference

Node.js HTTP Module

Everything you see in Express, Next.js, or Fastify reduces to one thing: raw TCP bytes parsed by llhttp, handed to you as req and res. Organised into three parts — open any card to dive in.

03
Parts
16
Topics
03
Frameworks
~40
Minutes
Live — request pipeline click a stage
00 — The Map

How it all connects.

Every topic on this page is a node in one dependency tree — each concept builds on the ones above it, three convergence points (the layer stack, the ultimate truth, the matrix) tie each part together. Click any node to open its deep dive; hover to trace its lineage.

Tap any node to open its detail · hover to trace relationships
part 01 part 02 part 03 convergence
01 · THE MODULE 02 · THE ALGORITHM 03 · FRAMEWORK COMPARE The Problemwhy http exists The Bridgebrowser ⇄ Node Core Architecture3 layers req & res Streamsdata over time Request Lifecycle8 steps Connection Agentpooled sockets Complete Layer Stackobjects ⇄ bytes CORS Preflightseparate request Express Decorationadds, not mutates Critical Insightsthe gotchas The Ultimate Truthone transformation Query Params: 3 Worldsone problem Raw Nodezero abstraction Expressthe classic Honoedge-first Feature Matrixwhat to standardise
01 — The Module

The Module.

Node's http module is a structured wrapper around raw TCP. These six topics take you from the bytes on the wire up to a pooled, reusable connection.

02 — The Algorithm

The Algorithm.

Once the request is an object, the real work begins: the full transformation stack, CORS, how Express decorates the request, and the truths that survive every abstraction.

03 — Framework Compare

Framework Compare.

The same query-string problem, solved three ways — raw Node, Express, and Hono — then laid side by side with no ambiguity.

Back to JIT-Atlas