Commit b973046
Add docs/migration/from-express.md mapping every common Express pattern
to its Hono/Nerva equivalent: app setup and middleware registration,
route definition, request/response handling, middleware patterns,
error handling, route grouping, static files, and environment/config.
Includes an Express to Hono cheat-sheet table, a porting-gotchas
checklist, and a section on what Nerva layers on top of Hono (pipeline,
agents, skills, templates). Examples are grounded in the generated
Node and Cloudflare snippets (Zod-validated config, c.env bindings,
app.onError with typed errors, chained Hono sub-apps).
Link the guide from the README documentation index.
Fixes #20
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 35702f8 commit b973046
2 files changed
Lines changed: 496 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
| 203 | + | |
203 | 204 | | |
204 | 205 | | |
205 | 206 | | |
| |||
0 commit comments