/Knowledge/sources/honojs__hono/llms-full/dev-helper-showroutes--b80a1b487e9e.md
Dev Helper: showRoutes() - hono-docs
Dev Helper: showRoutes() Source evidence: /Sources/honojs hono/provenance.md Canonical citation: https://hono.dev/llms full.txt showroutes Summary showRoutes...
Dev Helper: showRoutes()
Source evidence: /Sources/honojs__hono/provenance.md Canonical citation: https://hono.dev/llms-full.txt#showroutes
Summary
showRoutes() function displays the registered routes in your console. Consider an application like the following: ```ts const app = new Hono().basePath('/v1') app.get('/posts', (c) => { // ... }) app.get('/posts/:id', (c) => { // ... }...
Content
showRoutes() function displays the registered routes in your console.
Consider an application like the following:
const app = new Hono().basePath('/v1')
app.get('/posts', (c) => {
// ...
})
app.get('/posts/:id', (c) => {
// ...
})
app.post('/posts', (c) => {
// ...
})
showRoutes(app, {
verbose: true,
})
When this application starts running, the routes will be shown in your console as follows:
GET /v1/posts
GET /v1/posts/:id
POST /v1/posts
Metadata
{
"chunk_index": 0,
"citation": "https://hono.dev/llms-full.txt#showroutes",
"coverage_role": "overview",
"qualified_title": "Hono / llms-full / Dev Helper > `showRoutes()`",
"retrieved_at": "2026-07-02T05:51:01Z",
"section_index": 764,
"source_id": "/honojs/hono",
"source_type": "llms_full",
"target_label": "llms-full",
"title": "Dev Helper: showRoutes()",
"upstream_url": "https://hono.dev/llms-full.txt",
"version": "2026"
}