Runtime Reference · v22 LTS
The anatomy
of Node.js
Seven layers stacked between your JavaScript and the kernel. Every fs.readFile hops through all of them. Click any block in the diagram, any card below, or any highlighted term to see exactly what it does and how it talks to its neighbours.
07
Layers
11
Components
60
Glossary terms
∞
Callbacks
01 — Map
The runtime, visualised.
Your code sits at the top. The kernel sits at the bottom. Every layer in between exists to make synchronous-looking JavaScript actually behave like a non-blocking, event-driven, multi-platform system. Click any node.
02 — Components
Eleven components, end to end.
Each card is a layer or a sub-layer. Click for the deep cut: what it actually does, how it interfaces with its neighbours, and a glossary of the terms involved. Highlighted terms are clickable too.