@neato/config
v3.0.0
Published
Cloud-native type-safe configuration
Downloads
38
Readme
⚡@neato/config
Load complex configuration from many sources on runtime with type-safety. Check the documentation for more info.
🔥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.
🍄Installation / usage
**Visit the documentation on how to install.
npm install neat-config
📖Documentation
**Visit the website for documentation.
🧬 Running locally for development
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