# @umajs/core

> uma core

Latest version **2.0.6** (published 2026-01-19) · MIT license · 0 weekly downloads

## Install

```sh
npm install @umajs/core
pnpm add @umajs/core
yarn add @umajs/core
bun add @umajs/core
```

## Health

**Score 50/100 (C)** — status: stable.

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support.

## Facts

| | |
|---|---|
| Version | 2.0.6 |
| Published | 2026-01-19 |
| First published | 2020-05-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 71.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 292 |
| Author | zhangzhihua |
| Maintainers | edwwardzzz, dazjean, cocoboom, liushaohua, wangliang826, bubblem |

## Links

- npm: https://www.npmjs.com/package/@umajs/core
- Repository: https://github.com/wuba/Umajs
- Homepage: https://github.com/wuba/Umajs#readme
- Issues: https://github.com/wuba/Umajs/issues
- npm.io page: https://npm.io/package/@umajs/core

## Dependencies (2)

- [koa-body](https://npm.io/package/koa-body.md) ^7.0.1
- [@types/koa-send](https://npm.io/package/@types/koa-send.md) ^4.1.6

## Recent versions

- 2.0.6 (latest) — 2026-01-19
- 2.0.5 — 2022-09-14
- 1.2.5 — 2022-09-14
- 2.0.4-alpha.0 — 2022-09-13
- 2.0.3 — 2022-03-14
- 2.0.2 — 2021-12-30
- 2.0.1 — 2021-11-02
- 1.2.4 — 2021-08-31
- 1.2.3 — 2021-07-21
- 2.0.1-alpha.0 — 2021-04-27
- 2.0.0-alpha.0 — 2021-04-26
- 1.2.1 — 2020-12-28
- 1.2.1-Alpha.1 — 2020-12-17
- 1.2.0 — 2020-12-14
- 1.1.5 — 2020-11-30
- … 16 more at https://npm.io/package/@umajs/core/versions

## README

[中文](./README.zh-CN.md)

# @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](https://umajs.github.io/)

---
_Source: https://npm.io/package/@umajs/core · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
