@app-config/main
v2.9.0-beta.1
Published
Easy to use configuration loader with schema validation
Downloads
14,938
Readme
App Config
Features
- Schema Validation: Avoid production typos. Write JSON Schema for your configuration, and we'll have your back.
- Strong Typing: Use it with TypeScript without separate validation. Types are generated based on JSON Schema constraints.
- Powerful and Robust: Flexible parsing extensions and file loading strategies. Provides file merging, environment specific values (eg. production vs development) and more.
- First Class Encryption: Manage your secrets in version control, backed by OpenPGP (optional). Or, keep secrets away from committed files with schema validation.
- Use Your Tools: Don't be constrained by your tools - export environment variables for usage anywhere.
- Multi-Format: Write YAML, TOML, JSON, JSON5 - whatever makes most sense for you.
Using App Config
Read the Introduction or Quick Start guides on our website.
Or, start by installing through your package manager:
yarn add @app-config/main@2
Or, using NPM.
npm i @app-config/main@2