# eggjs **Repository Path**: mirrors/eggjs ## Basic Information - **Project Name**: eggjs - **Description**: Egg.js,为企业级框架和应用而生,是阿里开源的企业级 Node.js 框架 - **Primary Language**: JavaScript - **License**: MIT - **Default Branch**: next - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 82 - **Forks**: 1 - **Created**: 2017-07-20 - **Last Updated**: 2025-10-25 ## Categories & Tags **Categories**: webframework **Tags**: None ## README English | [简体中文](./README.zh-CN.md)
[![NPM version](https://img.shields.io/npm/v/egg.svg?style=flat-square)](https://npmjs.org/package/egg) [![NPM quality](http://npm.packagequality.com/shield/egg.svg?style=flat-square)](http://packagequality.com/#?package=egg) [![NPM download](https://img.shields.io/npm/dm/egg.svg?style=flat-square)](https://npmjs.org/package/egg) [![Node.js Version](https://img.shields.io/node/v/egg.svg?style=flat)](https://nodejs.org/en/download/) [![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Feggjs%2Fegg.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2Feggjs%2Fegg?ref=badge_shield) [![Continuous Integration](https://github.com/eggjs/egg/actions/workflows/ci.yml/badge.svg)](https://github.com/eggjs/egg/actions?query=branch%3Amaster) [![Test coverage](https://img.shields.io/codecov/c/github/eggjs/egg.svg?style=flat-square)](https://codecov.io/gh/eggjs/egg) [![Known Vulnerabilities](https://snyk.io/test/npm/egg/badge.svg?style=flat-square)](https://snyk.io/test/npm/egg) [![Open Collective backers and sponsors](https://img.shields.io/opencollective/all/eggjs?style=flat-square)](https://opencollective.com/eggjs) ## Features - Built-in Process Management - Plugin System - Framework Customization - Lots of [plugins](https://github.com/search?q=topic%3Aegg-plugin&type=Repositories) ## Quickstart Follow the commands listed below. ```bash $ mkdir showcase && cd showcase $ pnpm create egg@beta $ pnpm install $ pnpm run dev $ open http://localhost:7001 ``` > Node.js >= 20.19.0 required, [supports `require(esm)` by default](https://nodejs.org/en/blog/release/v20.19.0). ## Monorepo Structure This project is structured as a pnpm monorepo with the following packages: - `packages/egg` - Main Eggjs framework - `examples/helloworld-commonjs` - CommonJS example application - `examples/helloworld-typescript` - TypeScript example application - `site` - Documentation website The monorepo uses **pnpm catalog mode** for centralized dependency management, ensuring consistent versions across all packages. ### Development Commands ```bash # Install dependencies for all packages pnpm install # Build all packages pnpm run build # Test all packages pnpm run test # Run specific package commands pnpm --filter=egg run test pnpm --filter=@examples/helloworld-typescript run dev pnpm --filter=site run dev ``` ## Documentations - [Documentations](https://eggjs.org/) - [Plugins](https://github.com/search?q=topic%3Aegg-plugin&type=Repositories) - [Frameworks](https://github.com/search?q=topic%3Aegg-framework&type=Repositories) - [Examples](https://github.com/eggjs/examples) ## Contributors [![contributors](https://contrib.rocks/image?repo=eggjs/egg&max=240&columns=26)](https://github.com/eggjs/egg/graphs/contributors) ## How to Contribute Please let us know how can we help. Do check out [issues](https://github.com/eggjs/egg/issues) for bug reports or suggestions first. To become a contributor, please follow our [contributing guide](CONTRIBUTING.md), and review the [repository guidelines](AGENTS.md) for day-to-day development tips. ## Sponsors and Backers [![sponsors](https://opencollective.com/eggjs/tiers/sponsors.svg?avatarHeight=48)](https://opencollective.com/eggjs#support) [![backers](https://opencollective.com/eggjs/tiers/backers.svg?avatarHeight=48)](https://opencollective.com/eggjs#support) ## License [MIT](LICENSE) [![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Feggjs%2Fegg.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Feggjs%2Fegg?ref=badge_large)