Documentation · in sync with the code

Express

16 pages across 6 sections, generated from the real codebase — every page tracks the exact source files it came from, and knows when they drift.

16pages
6sections
100%source-tracked
2026-07-27last synced

Explore the wiki

1 page

Start Here

What Express does, who uses it, and where each kind of reader should go next.

2 pages

Onboarding

Setup commands, a tour of lib/, test/, and examples/, and a safe first change with the test workflow to verify it.

5 pages

How It Works

What happens between app.listen and the response: http.Server, app.handle, router dispatch, and finalhandler, traced through lib/.

5 pages

Technologies

Why Express 5 outsources route matching to the router package, where this repo imports it, and how finalhandler terminates unhandled requests.

2 pages

Reference

Every app.set key with its default, the file that consumes it, and the compiled fn settings Express derives from three of them.

1 page

Cookbook

Error handling, downloads, param validation, sub-routers, and content negotiation -- working code lifted from examples/, each verified by an acceptance test.