router = new SmartRouter<MatchedValue>(...); // HTTPメソッドとパステンプレートをキーにして値を⼊れておくと router.add(normalizedMethod, options.path, value); // リクエストのメソッドとパスから値を取り出せる! const matched = router.match(method, path); (参照) https://github.com/bufferings/kori/blob/main/packages/kori/src/route-matcher/hono-route-matcher.ts