Const
A pre-configured default Hono router adapter combining RegExpRouter and TrieRouter via SmartRouter.
SmartRouter automatically selects the best matching router for each route, providing optimized routing performance across different URL patterns.
SmartRouter
new SmartRouter({ routers: [new RegExpRouter(), new TrieRouter()],}) Copy
new SmartRouter({ routers: [new RegExpRouter(), new TrieRouter()],})
IMPORT_PATH: "@daiso-tech/core/http-router"
"@daiso-tech/core/http-router"
A pre-configured default Hono router adapter combining RegExpRouter and TrieRouter via SmartRouter.
SmartRouterautomatically selects the best matching router for each route, providing optimized routing performance across different URL patterns.