description Egg.js Overview
Egg.js is a Node.js web framework created for building server-side applications, particularly larger services maintained by development teams. Originating at Alibaba, it extends the Koa middleware model with conventions, plugins, configuration management, and support for application and framework layering. It is aimed at enterprise Node.js projects that benefit from standardized structure and reusable organizational components.
help Egg.js FAQ
What is Egg.js and what company created it?
Egg.js is a Node.js web framework originally developed at Alibaba for building large-scale server-side applications. It extends the Koa framework with a built-in plugin architecture, convention-based directory structure, and configuration management designed for team development.
How is Egg.js different from Express or Koa?
Unlike Express, which is minimalist and leaves most architecture decisions to the developer, Egg.js provides opinionated conventions for routing, services, middleware, and configuration out of the box. It is built on top of Koa's async middleware pipeline but adds a plugin loading system and environment-based configuration that Koa does not include by default.
Is Egg.js still actively maintained?
Egg.js development has slowed significantly in recent years as much of the Node.js community has shifted toward frameworks like NestJS. The repository remains available on GitHub and npm, but active contributions and new releases have decreased compared to its peak around 2018–2020.
Does Egg.js support TypeScript?
Yes, Egg.js offers TypeScript support through official type definitions and a decorator-based programming model. The framework provides typings for controllers, services, and middleware, allowing teams to use TypeScript for type-safe development.
explore Explore More
Similar to Egg.js
See all arrow_forwardReviews & Comments
Write a Review
Be the first to review
Share your thoughts with the community and help others make better decisions.