API Overview
Package-root public APIs for the core router, React integration, CLI, and generated contracts.
Public means documented.
The current packages publish root entrypoints only. Examples in this reference import from package roots; internal source folders are not supported entrypoints.
@cookbook/router
Route definitions, matching, URL state, runtime, history, rendering, and diagnostics.
@cookbook/router-react
Providers, links, outlets, slots, lazy views, contexts, and hooks.
@cookbook/router-cli
Commands, config, static loading, generation, build runners, and filesystem contracts.
Bundler plugins
Six adapters over the CLI build pipeline.
Reference standard
Every API page includes signatures, options, return values, operational behavior, and failure conditions. Overview pages explain responsibility; they do not replace the detailed pages.