Skip to main content
The Dev Helper provides utilities for inspecting routes and middleware during development.

Import

Functions

showRoutes()

Print all routes to the console.
Hono
required
The Hono application instance
ShowRoutesOptions
Display options
Example

inspectRoutes()

Get route information as an array.
Hono
required
The Hono application instance
RouteData[]
Array of route information objects
Example

getRouterName()

Get the name of the router being used.
Hono
required
The Hono application instance
string
The router name (e.g., ‘SmartRouter’, ‘RegExpRouter’)

Types

Verbose Mode