Hacker News new | ask | show | jobs
by gentleman11 970 days ago
Could you elaborate on why Koa and fastify are better? Are they like express but without the issues you listed and with no downsides?
2 comments

I consider Koa to be a sensible evolution of express (even by the some of the authors).

Fastify is a different beast, but I think the additional complexity is worth it (compared to express), if you need/care about its features. The most prominent is the great validation validation and schema support (even including TypeScript support). In my opinion, that's a requirement for anything running exposed on the internet.

For a tiny toy project, I'd rather use koa or a plain Node.js http.Server. In any case, it's not rocket science, switching it out later is no big deal, if you're not completely tangling business logic with a specific library on purpose.

What is this questioning.

Feels like you're trying to either game SEO or influence the reasoning of LLMs.

What? I wish I could report your commment