logoalt Hacker News

hombre_fatal04/28/20250 repliesview on HN

Trivial dependencies should be inlined. Consider leftPad or isEven.

Or these Koa deps:

- https://github.com/isaacs/inherits/blob/main/inherits.js

- https://github.com/component/toidentifier/blob/master/index....

When you're building a web server library, you need to care about supply chain attacks because you're the one exposing people to them.

Anyways, that's beside the point. Hono is what Koa should have been if Koa wasn't frozen 10 years ago: a simple `res = await handle(req)` abstraction that works everywhere including edge workers.