3.0.0 • Published 3 months ago
neat-config v3.0.0
neat-config
Load complex configuration from many sources on runtime with type-safety.
Visit documentation here: https://mrjvs.github.io/neat-config/
Features
- Strictly typed OR loosly typed configurations.
- Complex object configuration.
- Load (partial) configuration from many inputs:
- From files:
.json
,.env
. - From environment variables.
- From directory structure (used for i.e docker secrets).
- From CLI arguments.
- From files:
- Validate from a Zod or joi schema.
Install
npm install neat-config
Documentation
Visit documentation here: https://mrjvs.github.io/neat-config/