Load complex configuration from many sources on runtime with type-safety. Check the documentation for more info.
- 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.
**Visit the documentation on how to install.
npm install neat-config
**Visit the website for documentation.
npm i -g pnpm # install PNPM if you don't have it already
pnpm i # install dependencies of the entire repo
pnpm -C packages/config run dev # run library dev script in directory