@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

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
2.9.0-beta.11,031latest
3.0.0-alpha.61next

Version History

VersionDownloads (Last 7 Days)Published
2.9.0-beta.11,031
2.8.72,437
2.8.66
2.8.535
2.8.41
2.8.31
2.8.28
2.8.10
3.0.0-alpha.61
2.8.01
2.7.20
2.7.10
2.7.00
2.6.13
2.6.01
2.5.21
3.0.0-alpha.40
2.5.10
2.5.01
2.4.62
3.0.0-alpha.31
3.0.0-alpha.21
3.0.0-alpha.10
2.4.50
2.4.40
2.4.31
2.4.21
2.4.11
2.4.01
2.3.40
2.3.31
2.3.20
2.3.11
2.3.00
2.2.21
2.2.11
2.2.01
2.1.81
2.1.71
2.1.61
2.1.50
2.1.40
2.1.30
2.1.21
2.1.11
2.1.00

Package Sidebar

Install

npm i @app-config/main

Weekly Downloads

3,545

Version

2.9.0-beta.1

License

MPL-2.0

Unpacked Size

25.7 kB

Total Files

14

Last publish

Collaborators

  • joelgallant-me
  • gregnr