gitmyhub

egg

TypeScript ★ 19k updated 4h ago

🥚🥚🥚🥚 Born to build better enterprise frameworks and apps with Node.js & Koa. https://307.run/eggcode

Egg.js is a Node.js web framework that adds enterprise-friendly structure, a plugin system, and multi-core process management on top of the lightweight Koa library, ideal for teams building backend APIs.

Node.jsTypeScriptKoasetup: moderatecomplexity 3/5

Egg.js is a Node.js web framework built on top of Koa — a lightweight web library — and designed specifically for enterprise-grade applications where teams need consistency and scalability. While Koa gives you a minimal, unopinionated foundation, Egg adds structure: a plugin system so teams can share reusable functionality, a framework customization layer so companies can build their own opinionated base on top of Egg, and built-in process management so Node.js apps can take full advantage of multi-core servers without extra configuration.

The plugin ecosystem is a key feature — hundreds of community-built plugins handle common tasks like database connections, authentication, caching, logging, and more, all following Egg's conventions so they integrate cleanly together.

You would use Egg.js if you are building a backend API or server-side web app with Node.js for a medium-to-large team, and you want more structure and enterprise-friendly patterns than bare Koa provides while still staying in the JavaScript/TypeScript ecosystem. It requires Node.js 20.19.0 or newer, is written in TypeScript, and is licensed under MIT. It is particularly popular in China and widely used in production at large companies.

Where it fits