Which Hono Router Should I Use in This Case?

Hono has five different routers:

  1. PatternRouter
  2. SmartRouter
  3. LinearRouter
  4. TrieRouter
  5. RegExpRouter
I need a router that matches the pathname exactly, regardless of the order in which routes are defined. Meaning if in my source code, however I order or define my API paths and endpoints.
Was this page helpful?