@umajs/core
Features
- Based on Koa2, compatible with middleware.
- Decorators, making code organization more elegant and convenient.
- Dependency Injection (IOC), module dependencies no longer need to be imported and instantiated manually.
- Aspect-Oriented Programming (AOP), decorator-based AOP can be easily used on various methods.
- Unified Return (Result) makes coding simpler and clearer.
- Custom Decorators (createArgDecorator) can quickly extend argument decorators for parameter validation, transformation, aggregation, etc.
- Plugins and Aspects make middleware usage more elegant.
- High stability and high performance, with full unit test coverage.
- Route layering, optimizing route addressing.
- TS development is recommended, making development and maintenance clearer, and usage of dependency injection methods more convenient.
- Unified constraints and specifications.