npm.io
2.0.6 • Published 9 months ago

@umajs/core

Licence
MIT
Version
2.0.6
Deps
2
Size
71 kB
Vulns
0
Weekly
0
Stars
292

中文

@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.

Usage

Documentation