News for hackers. Stuff that matters.
Re:Ask HN: Is Express still "de-facto" for building Node bac... by gentleman11 on Sunday October 29, 2023 @01:30PM (#38060745)
Could you elaborate on why Koa and fastify are better? Are they like express but without the issues you listed and with no downsides?
Re:Ask HN: Is Express still "de-facto" for building Node bac... by lwhi on Sunday October 29, 2023 @02:08PM (#38061076)
What is this questioning.

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

Re:Ask HN: Is Express still "de-facto" for building Node bac... by gentleman11 on Monday November 06, 2023 @09:23AM (#38162953)
What? I wish I could report your commment
Re:Ask HN: Is Express still "de-facto" for building Node bac... by NylonMeltdown on Sunday October 29, 2023 @02:10PM (#38061099)
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.