honojs/hono · Architecture
A static read of how honojs/hono is wired together — module coupling, layering, and circular dependencies — derived from its import graph.
C
Architecture grade
score 67/100
8
Import cycles
lower is better
221
Modules parsed
507 edges
92%
Layeredness
clean-layer ratio
Most-depended-on modules
These are the highest-fan-in files — change them and the blast radius is largest. Read them first.
- src/types.ts52 importers · radius 105
- src/context.ts40 importers · radius 105
- src/hono.ts18 importers · radius 41
- src/jsx/base.ts17 importers · radius 26
- src/router.ts15 importers · radius 119
- src/jsx/constants.ts13 importers · radius 28
- src/http-exception.ts12 importers · radius 107
- src/utils/html.ts12 importers · radius 133
Modules (24)
Source directories grouped from the import graph. Each links to a per-module page with its files and how it couples to the rest.
- src9 files · 152 in-degree · in cycle
- src/utils20 files · 84 in-degree · in cycle
- src/jsx12 files · 68 in-degree · in cycle
- src/jsx/dom10 files · 19 in-degree
- src/utils/jwt6 files · 17 in-degree
- src/client5 files · 10 in-degree
- src/helper/ssg5 files · 10 in-degree · in cycle
- src/helper/conninfo2 files · 10 in-degree
- src/router/reg-exp-router6 files · 9 in-degree
- benchmarks/jsx/src/react-jsx9 files · 8 in-degree
- benchmarks/jsx/src7 files · 8 in-degree
- src/adapter/aws-lambda4 files · 8 in-degree
- src/adapter/bun6 files · 7 in-degree
- src/adapter/cloudflare-workers6 files · 6 in-degree
- src/helper/streaming5 files · 6 in-degree
- src/router/trie-router3 files · 6 in-degree
- src/adapter/deno5 files · 4 in-degree
- src/middleware/serve-static2 files · 4 in-degree
- src/jsx/intrinsic-element2 files · 4 in-degree
- src/adapter/netlify4 files · 3 in-degree
- src/adapter/lambda-edge3 files · 3 in-degree
- src/router/smart-router2 files · 3 in-degree
- src/adapter/cloudflare-pages3 files · 2 in-degree
- src/adapter/service-worker3 files · 2 in-degree
Circular dependencies (8)
- src/context.ts to src/request.ts to src/types.ts to src/context.ts
- src/context.ts to src/request.ts to src/types.ts to src/hono-base.ts to src/compose.ts to src/context.ts
- src/types.ts to src/hono-base.ts to src/compose.ts to src/types.ts
- src/context.ts to src/request.ts to src/types.ts to src/hono-base.ts to src/context.ts
- src/types.ts to src/hono-base.ts to src/types.ts
- src/request.ts to src/utils/body.ts to src/request.ts
Ask AI about honojs/hono
Grounded in the actual source code. Pick a starter question or write your own.
What does this repo do, in one paragraph?How would I get started using it?What are the main alternatives?Show me the entry point.
Or write your own questionInformational only. RepoPilot summarises public signals at the time of analysis; they can be incomplete or stale. Not professional, security, or legal advice.