Earlier we wrote about Sails.js MVC framework for Node. Today you have a chance to explore the detailed information and comparison for the main Node.js web frameworks for 2019.
Each framework has its goals, design decisions, and peculiarities. You should carefully consider how these map to your own use case currently and as far as you can tell in the future:
- AdonisJs takes a page from the Hapi manual by explicitly choosing to write its own dependencies from scratch.
- Express. It is still a very minimal framework that, on install, gives you a bare-bones API server.
- Fastify comes with experimental HTTP 2.0 support and ships with TypeScript typings.
- Hapi was developed at Walmart to provide a rock solid foundation for their e-commerce business.
- Koa comes with a list of third-party middlewares almost as long as Express although a lot of them seem to be abandoned or just not maintained on a regular basis.
- Nest is a bit different than all the others as it is based on TypeScript and uses Express under the hood.
- Restify is squarely aimed at providing a framework for building RESTful APIs, where other frameworks tend to solve API.
- Sails was arguably the first Node.js web framework to provide a “full stack” experience similar to Rails on the Ruby platform.
- Server.js started in 2017 and has seen steady, but not explosive growth over 2018.
If you are interested, all of these frameworks are listed here.