@mohism/config
- 配置文件使用 `json` 格式 - 配置字段全使用驼峰格式 - 定义了全局配置文件 `global.json` - 运行时配置文件 `local.json`,`production.json` ... 或其他 `{NODE_ENV}.json` - 运行时配置文件 **深层合并** 到 `global.json` - 还能通过环境变量来注入配置 `config_app_appId=1000` 注入到 `config.app.appId`, 依旧是驼峰格式,**下划线代替"."**
Activity
- Latest release
- 5y ago
- Total releases
- 7
- Cadence
- ~daily
- Last 12 months
- 0
Details
- License
- ISC
- First release
- Oct 14, 2020
| Version | Released | |
|---|---|---|
0.2.3
patch
|
0.2.3
patch
Dependencies (2)
|
|
0.2.2
patch
|
0.2.2
patch
Dependencies (2)
|
|
0.2.1
patch
|
0.2.1
patch
Dependencies (2)
|
|
0.2.0
minor
|
0.2.0
minor
Dependencies (2)
|
|
0.1.0
minor
|
0.1.0
minor
Dependencies (2)
|
|
0.0.3
patch
|
0.0.3
patch
Dependencies (2)
|
|
0.0.2
initial
|
0.0.2
initial
Dependencies (2)
|