Documentation hub · Node.js-only runtime
Find the task, then get back to code.
Each engineering job has a focused page with compact tables, exact contracts, and copyable Node.js examples.
Task map
Open one focused page.
Install, first listener, module choices, defaults, and project status.
Overview → Why node-http-serverDecision signals, project fit, interfaces, boundaries, and evidence.
Decision guide → CLIEvery flag, task recipe, syntax rule, output, exit, and failure.
Command guide → Library APINode.js CommonJS/ESM, instances, lifecycle, methods, requests, and hooks.
API reference → ConfigurationEvery key/default, opt-out semantics, MIME, errors, logs, and HTTPS.
Config reference → HTTPSNative TLS, HTTPS-only and paired modes, listener lifecycle, certificates, and failures.
HTTPS guide → ExamplesCopyable CLI and library patterns with expected results and failures.
Examples → PlaygroundGenerate CommonJS, Node.js ESM, CLI, and serializable JSON configuration.
Generator → Testing & coverageFour focused suites, per-file gates, reports, badges, CI, and contributor steps.
Testing guide → Performance9.0.2 comparison, raw alternating samples, workload contracts, and reproduction.
Performance report → BenchmarksReal loopback requests, public-path scenarios, options, metrics, and comparison discipline.
Benchmark guide → OperationsExposure, HTTP failures, shutdown, logs, certificates, and migration to v10.
Operations →Quick lookup
Common question → exact section.
| Question | Go here |
|---|---|
| How do I use a free local port? | CLI common tasks |
| What does false or 0 disable? | Limits and timeouts |
| How do CJS and ESM exports differ? | Library imports |
| How do I run multiple servers? | Multiple servers and shutdown |
| How do I serve an SPA? | SPA + compression example |
| How do I run HTTPS-only or HTTP + HTTPS? | HTTPS transport modes |
| How do MIME overrides and denials work? | MIME and restrictions |
| Why did a request return 403/413/415/416/421? | Failure map |
| Where are tests and coverage reports? | Testing reports and badges |
| What changed on measured core hot paths? | 9.0.2 comparison results |
| How do I measure real server paths? | Benchmark commands and profiles |
| How do I upgrade from v9 to v10? | HTTP/2 migration checklist |
| What changed from v8 to v9? | Earlier migration checklist |
Repository documents