logoalt Hacker News

hombre_fatal • 04/27/2025 • 2 replies • view on HN

Koa was next gen Express when TJ Hollowaychuk made it. Used first class promises to have real middleware like “response = await next()”

Hono is basically next gen Koa: zero dependencies and made to work in additional contexts like in CloudFlare Workers.

- Express deps: https://npmgraph.js.org/?q=express (lol)

- Hono deps: https://npmgraph.js.org/?q=hono

Node web servers are all so similar (you write ~identical code no matter which one you use) that tie-breaking on a dep diff this big is reasonable.


Replies

josephg • 04/28/2025

In what way is Hono better than Koa? Any package can have zero dependencies if you just inline / bundle them in your package.

➕ show 2 replies
nopelynopington • 04/27/2025

[dead]