Configuration
info
Read the framework configuration
lemon.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)