@ecfjs/config
v1.0.0-rc.2
Published
ECF configuration manager with dot-notation access, environment layering, and reactive config events
Maintainers
Readme
@ecfjs/config — Hierarchical Configuration Platform
@ecfjs/config is the hierarchical dot-notation configuration repository for the ECF (Elegant Core Framework) ecosystem.
Features
- ConfigRepository — dot-notation config access (
app.db.host) - EnvLoader — environment variable overlay and
.envintegration - ConfigEncrypter — encrypted config value storage
- ConfigFacade — static proxy via
@ecfjs/corefacade system
Quick Start
import { Application } from "@ecfjs/core";
import { ConfigServiceProvider, Config } from "@ecfjs/config";
const app = new Application();
app.register(ConfigServiceProvider);
app.boot();
Config.set("app.name", "MyApp");
console.log(Config.get("app.name"));Documentation
- ARCHITECTURE.md — package architecture
License
MIT
