Express is still a solid default for a TypeScript API

I still start most Node APIs in Express. It is unfashionable, well understood, and easy to keep small if you do not pile magic on it.

I still reach for Express when I start a Node API in TypeScript. That is not because it is new. It is because I know where the request goes, the middleware model is obvious, and the ecosystem is still there when I need a well-worn adapter.

This is a review of that default, not a claim that Express is the most exciting framework in 2026.

What I like

Express does a few things and then gets out of the way. You mount middleware, you declare a route, you send a response. The application and request objects are widely documented, and a new contributor has usually seen them before.

That matters more to me than a smaller "hello world." A framework with a clever router does not help if every example on the internet is slightly wrong for your version, or if the error-handling path is a hidden convention. Express's error middleware is explicit: you write a function with four arguments, and you have to remember to pass errors to `next`. I have already written a short note about when not to call `next` after you already sent a response. The fact that I can write that note at all is the point. The path is visible.

TypeScript support is good enough if you type the boundary yourself. I do not rely on Express to validate a body. I parse JSON, then check the shape with a schema library, then pass a typed value into the rest of the app. Express holds the transport. It should not become a second data layer.

What I watch for

Express will let you build a junk drawer. Global mutable app state, implicit route order, and middleware that sometimes sends a response and sometimes does not will all compile. The framework will not save you from that. A small folder structure and a habit of ending a request in one place will.

I also pay attention to the major version. Express 5 is what I use now, and I read the migration notes instead of assuming a 4.x snippet still holds. That is true of any framework. It is easier to miss in a library you have used for years, because the old examples still feel right.

When I would pick something else

If I needed a first-class first-mile on the edge, or a framework whose whole idea is a different runtime model, I would start there and accept the new conventions. I would not rewrite a working Express API just to follow that mood.

For a TypeScript service that sits behind nginx, talks to Postgres, and needs ordinary auth, files, and JSON, Express is still a default I can defend. I would rather spend the novelty budget on the product than on the HTTP library.

Back to Journal