- HTTP接口
- 终端指令
- 中间件
- 数据验证
- 缓存
- 国际化
- 定时任务
- 接口文档生成器
- 极限TS类型提示
npm create aomex --project hello-aomex
Name | Version | Desc |
---|---|---|
@aomex/web | 外部接口 | |
@aomex/console | 内部指令 |
Name | Version | Platform | Desc |
---|---|---|---|
@aomex/compress | web | 压缩响应内容 | |
@aomex/cors | web | 跨域请求共享 | |
@aomex/http-logger | web | http请求日志 | |
@aomex/helmet | web | 设置安全报文 | |
@aomex/pretty-json | web | 美化响应输出 | |
@aomex/serve-static | web | 静态文件服务 | |
@aomex/response-time | web | 设置服务响应时长报文 | |
@aomex/rate-limit | web | 请求限速 | |
@aomex/etag | web | 设置etag报文 | |
@aomex/openapi | web/console | 生成接口文档 | |
@aomex/swagger-ui | web | swagger文档服务 | |
@aomex/cron | console | 定时任务 | |
@aomex/async-trace | web/console | 异步逻辑链路追踪 |
Name | Version | Desc |
---|---|---|
@aomex/cache | 缓存库入口 | |
@aomex/cache-redis-adapter | redis适配器 |
Name | Version | Desc |
---|---|---|
@aomex/auth | 身份认证统一入口 | |
@aomex/auth-bearer-adapter | Bearer 方案 | |
@aomex/auth-jwt-adapter | Json Web Token 方案 |
Name | Version | Desc |
---|---|---|
tsx | 执行 TS 文件 | |
prisma | 数据库 ORM | |
winston | 通用的日志库 | |
vitest | 测试框架 | |
tsc-alias | 补全.js 后缀 |
|
volta | 不同项目自动切换node和pnpm/yarn版本 |