@lucid-softworks/config-core
v0.1.0
Published
Shared configuration source, layer, path, and provenance contracts.
Downloads
229
Maintainers
Readme
@lucid-softworks/config-core
Shared contracts for configuration sources, immutable layers, nested paths, and leaf-level provenance.
const layer = createConfigLayer("defaults", {
server: { port: 3000 },
});
layer.provenance.get("/server/port");
// { source: "defaults", path: ["server", "port"] }Paths use JSON Pointer escaping and object writes treat __proto__ as an
ordinary own property.
