{"library":"egg","type":"library","category":null,"description":"Egg.js is a robust web framework for Node.js, designed to streamline enterprise-level application development by enforcing conventions and providing a powerful plugin system. Built upon Koa.js, it abstracts away complex middleware logic and offers a multi-process architecture for enhanced stability and scalability. The current stable version is 3.34.0, which regularly receives minor updates, and a major version 4.x is in active beta development, expected around April 2026. Egg.js differentiates itself through its \"convention over configuration\" approach, extensive plugin ecosystem, and comprehensive built-in features for areas like security, logging, and application lifecycle management, making it particularly suitable for large teams and complex business scenarios requiring high quality and reliability.","language":"javascript","status":"active","version":"3.34.0","tags":["javascript","web","app","http","application","framework","middleware","koa","egg","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install egg","imports":["import { Controller } from 'egg'; // For TypeScript or ESM in Node environments (with transpilation or v4+)\nconst Controller = require('egg').Controller; // CommonJS (v3)","import { Service } from 'egg'; // For TypeScript or ESM in Node environments (with transpilation or v4+)\nconst Service = require('egg').Service; // CommonJS (v3)","import { Application } from 'egg'; // For TypeScript or ESM in Node environments (with transpilation or v4+)\nconst Application = require('egg').Application; // CommonJS (v3) - for programmatic instance\nconst AppBootHook = require('egg').AppBootHook; // CommonJS (v3) - for lifecycle hooks"]},{"cmd":"yarn add egg","imports":[]},{"cmd":"pnpm add egg","imports":[]}],"homepage":"https://eggjs.org","github":"https://github.com/eggjs/egg","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/egg","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/egg/compatibility"}}