配置
信息
读取框架配置
alemon.config.yaml
kook:
token: 'xxxx'
master_id:
- '123456'
- '654321'
src/index.ts
import { getConfig, getIoRedis } from 'alemonjs'
const cfg = getConfig()
console.log('alemon.config.yaml', config.value)
console.log('alemonjs package.json', config.package)