@app-config/main
TypeScript icon, indicating that this package has built-in type declarations

2.9.0-beta.1 • Public • Published

App Config

Easy Configuration Loader with Strict Validation


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

Readme

Keywords

none

Package Sidebar

Install

npm i @app-config/main

Weekly Downloads

5,486

Version

2.9.0-beta.1

License

MPL-2.0

Unpacked Size

25.7 kB

Total Files

14

Last publish

Collaborators

  • joelgallant-me
  • gregnr