Node.js API & Handbook Coverage
Audit baseline: Node.js 26 Current, Node.js 24 Active LTS, Node.js 22 Maintenance LTS; official Node API/release documentation rechecked on 30 July 2026.
Legendβ
- β complete
- π partial / supporting coverage intentionally concentrated in another chapter
- π‘ planned
- β οΈ deprecated / migration-only
- π§ͺ experimental / version-sensitive
- β intentionally excluded from the stable core learning path
No stable in-scope area remains π‘.
Contract coverageβ
| Area | Status | Handbook coverage / decision |
|---|---|---|
| core runtime / CLI / REPL | β | intro, Start Here, Foundations, process/runtime chapters |
| process | β | process lifecycle, argv/env/cwd, signals, exits, failures, stdio |
| globals / Web-compatible globals | β | globalThis, Buffer, timers, URL, AbortController, structuredClone, fetch/Web APIs |
| CommonJS | β | require, exports/module.exports, cache, cycles, migration |
| ECMAScript Modules | β | package type, extensions, resolution, import.meta, TLA, interop |
| package exports/imports / package resolution | β | package contracts, conditional exports, dual-package hazards |
| npm/package management | β | package.json, lockfile, dependency types, workspaces, ci, publish, supply chain |
| async model / Promises | β | callbacks, Promise combinators, await, cancellation, concurrency limits |
| event loop | β | phases as mental model, microtasks, nextTick, fairness, blocking, lag |
| timers | β | timeout/interval/immediate/nextTick/microtasks, ref/unref, drift |
| buffer / typed binary data | β | Buffer/Uint8Array/ArrayBuffer, encodings, allocation, memory/security |
| streams | β | Readable/Writable/Duplex/Transform, pipeline, backpressure, async iteration, Web Streams |
| filesystem | β | fs/promises, handles, sync/async, atomic writes, races, watches, descriptors |
| path / file URLs | β | POSIX/Windows, join/resolve, ESM paths, URL conversions, traversal |
| events | β | EventEmitter/EventTarget, error event, listener lifecycle, architecture |
| HTTP | β | server/request/response, headers/methods/status, streaming, keepalive, timeouts, shutdown |
| HTTPS / TLS | β | certs, trust, SNI, ALPN, TLS termination/rotation |
| HTTP/2 | β | sessions/streams, multiplexing, flow/lifecycle concepts |
| fetch / Request / Response / Headers | β | modern Web API chapter with cancellation/streaming/runtime differences |
| net / TCP | β | sockets, lifecycle, half-open, framing, backpressure, keepalive/timeouts |
| dgram / UDP | β | datagrams, delivery/ordering limitations, failure model |
| DNS | β | lookup vs resolve, OS resolver, IPv4/6, discovery/caching/failures |
| child_process | β | spawn/exec/execFile/fork, stdio, IPC, signals, injection |
| worker_threads | β | Worker, ports/channels, clone/transfer/share, pools, failure/cancel |
| cluster | β | process scaling, when cluster fits vs external orchestration |
| memory / GC | β | V8 heap, external memory, RSS, leaks, snapshots, OOM/tuning |
| V8 APIs / mental model | β | conceptual V8 chapter + diagnostics; unstable internals not treated as contracts |
| errors | β | custom errors, cause/AggregateError, async/process-level strategy |
| console / logging | β | console/stdout/stderr plus production structured-logging architecture |
| environment files / configuration | β | process.env, Node .env APIs/flags, layering, validation, secrets |
| runtime validation | β | HTTP/env/JSON/queue/DB/API/file/CLI/IPC boundaries |
| crypto / Web Crypto concepts | β | randomness, hashes/HMAC, encryption/signatures/KDF, key lifecycle, misuse |
| test runner | β | stable node:test, assertions/mocks/timers/filter/reporters; experimental features labelled |
| TypeScript integration | β | NodeNext, ESM/CJS, build/run, source maps, stable native type stripping limits |
| diagnostics / inspector / reports | β | inspector, stack/source maps, reports, heap/CPU profiles, event-loop metrics |
| performance APIs/concepts | β | perf measurement, event loop, GC/pools/backpressure/load tests/flamegraphs |
| observability | β | logs/metrics/traces, OTel, IDs, percentiles, saturation, RED/USE |
| AsyncLocalStorage / async context | π | treated as an observability/context-propagation tool; exact low-level async-hook internals intentionally not a main programming model |
| async_hooks low-level APIs | π | diagnostics chapter warns about complexity/overhead; prefer supported higher-level context tooling |
| readline / TTY | β | CLI chapter covers stdin/stdout/stderr, TTY, prompts and terminal behavior conceptually |
| REPL | β | Foundations; operational use only, not a production architecture |
| os module | π | OS/kernel/platform/resource concepts throughout; individual convenience getters are reference-level APIs |
| util | π | promisify/env parsing and runtime utility concepts where relevant; not a method-by-method catalog |
| zlib | β | compression represented in async I/O, streams, performance and projects |
| string_decoder | π | encoding/chunk-boundary concerns covered in buffers/streaming project; specialized API not taught exhaustively |
| vm | β | intentionally excluded as a security sandbox; specialized embedding API outside core backend path |
| domain module | β οΈ | legacy/deprecated-style error-domain patterns are not recommended for new architecture |
| querystring | β οΈ | legacy compatibility only; URLSearchParams taught for modern URL query semantics |
| punycode built-in | β οΈ | deprecated/migration-only rather than recommended new code |
| diagnostics_channel | π | observability/diagnostics concepts covered; direct instrumentation API is advanced library/platform territory |
| native addons / Node-API | β | ABI concept, C/C++, build/distribution, performance/security/portability |
| WebAssembly | β | loading, memory, JS boundary, use cases, sandbox caveat, native comparison |
| WASI | π§ͺ | version-sensitive/specialized; referenced only where permission/capability boundaries matter |
| experimental FFI / advanced native capability | π§ͺ | not taught as stable; permission implications labelled |
| Permission Model | β | stable current model, capabilities, threat model, limitations, OS/container layering |
| single executable / embedding/special packaging APIs | β | specialized distribution path outside the requested backend/platform curriculum |
| inspector permission / runtime hardening | β | diagnostics + permissions security guidance |
| security | β | injection, traversal, SSRF, prototype pollution, XSS/CSRF/CORS, secrets, TLS, supply chain, permission model |
| production engineering | β | shutdown, resilience, operations, containers/K8s, CI/CD, incidents |
| databases / cache / queues / messaging | β | framework-independent Node integration + Postgres/Mongo/Redis/jobs/events |
| distributed systems | β | partial failure, consistency, retries/idempotency, time/order, sagas/workflows |
| architecture | β | API/domain, modules, microservices, modular monolith, serverless, staff platform |
| migration/upgrades | β | CJSβESM, schema expand/contract, Node major/fleet governance |
| scaling / load testing | β | replicas, pools, hot spots, WebSockets, workload models/capacity |
| projects | β | 10 projects + production capstone |
| interview mastery | β | progression, deep-dive answer models, 320-question bank, 15 mock rounds |
Version-sensitive audit notesβ
- β Production guidance targets supported LTS lines; Current is used for newest stable behavior checks.
- β
node:testcore and MockTimers are taught as stable; π§ͺ watch mode and built-in test coverage are labelled experimental for the audited v26.5 docs. - β Permission Model is taught as stable but not a malicious-code sandbox.
- β Node TypeScript type stripping is taught as stable execution support that does not type-check or honor tsconfig transforms/paths.
- π§ͺ ambiguous
.jssyntax detection is labelled release-candidate/version-sensitive; packages are told to set explicittype. - β
stable
import.meta.dirname/import.meta.filenameare used only for supported current lines and the generic URL model remains documented.
Audit ruleβ
When Node releases a new major/LTS, recheck the release schedule plus API stability markers for modules, tests, permissions, TypeScript execution, module loading, Web APIs, diagnostics, deprecations, and security notes before changing handbook status.