/Wiki/sources/honojs__hono/2026/https-hono-dev-llms-full-txt-showroutes-b037d65a9a77-showroutes-s0764-c0000.md

`showRoutes()` - hono-docs

showRoutes() Source evidence: /Sources/raw/honojs hono/honojs hono.md Canonical citation: https://hono.dev/llms full.txt showroutes Summary showRoutes() func...

showRoutes()

Source evidence: /Sources/raw/honojshono/honojshono.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
Kinic Wiki
Loading knowledge node
Details

Identity

database
db_23dhmsxlhukv
database_id
db_23dhmsxlhukv
path
/Wiki/sources/honojs__hono/2026/https-hono-dev-llms-full-txt-showroutes-b037d65a9a77-showroutes-s0764-c0000.md
kind
directory
role
markdown_note
children
0

Metadata

created_at
virtual
updated_at
virtual
etag
virtual
metadata_json
{}

Lint Hints

No lightweight warnings.

Outgoing Links

No outgoing links indexed.

Incoming Links

Select a file node to inspect backlinks.

Raw Source

No raw source path inferred.