Packages
Ten packages. Independently versioned, independently installed, all at
1.0.0. You install @routegraph/core and exactly one adapter — the rest
are opt-in, which is our polite way of saying we didn’t make you download
five frameworks’ worth of dependencies just to draw a GET /health.
There is no unscoped routegraph package on npm. The workspace root is
private. Every real install starts with @routegraph/core.
RouteGraph class. Zero runtime dependencies — the engine, not a framework.routes/.@elysiajs/node if you’re running it on Node instead.koa-body ahead of it in the middleware chain — see the adapter notes..d.ts.routegraph command: init, dev, build, routes, validate, generate-client, export-docs.Peer dependencies
zod is a peer dependency of @routegraph/core — install it yourself.
Each adapter peers on its own framework (express, hono, fastify,
elysia, koa + @koa/router + koa-body) so you never pull in four
frameworks you’re not using.
TypeScript
Every package builds against the same strict base config — no any types
anywhere in the codebase:
{
"strict": true,
"exactOptionalPropertyTypes": true,
"noUncheckedIndexedAccess": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"forceConsistentCasingInFileNames": true
}All packages are ESM-only. If your project is still on CommonJS, that’s the one real prerequisite here.