Catalog npm
Back to packageRELEASE DETAILS

1.1.0-rc.1

npm

@0disoft/universal-config-engine-core

Core config resolution, provenance, validation, and redacted diagnostics for Universal Config Engine.

configconfigurationprovenanceredactionvalidation
Published20 Oct 2026
Direct dependencies0
Transitive dependenciesNot calculated

README

Current package documentation

@0disoft/universal-config-engine-core

Deterministic configuration resolution with source precedence, value-level provenance, structured validation, resource limits, and secret-safe diagnostics. This package has no runtime dependencies and does not read files, environment variables, or command-line arguments by itself.

Install

npm install @0disoft/universal-config-engine-core

Node.js >=24 and ESM are required.

Quick Start

import { runConfigPipeline } from "@0disoft/universal-config-engine-core";

const { result, report } = await runConfigPipeline({
  loaders: [
    {
      descriptor: {
        id: "defaults",
        kind: "defaults",
        priority: 0,
        displayName: "defaults"
      },
      load() {
        return { value: { service: { port: 3000 } } };
      }
    },
    {
      descriptor: {
        id: "local",
        kind: "object",
        priority: 10,
        displayName: "local"
      },
      load() {
        return { value: { service: { port: 8080 } } };
      }
    }
  ],
  context: undefined
});

console.log(result.config.service.port); // 8080
console.log(report.resolvedPaths[0]?.winningSourceId);

Use resolveConfig, runValidators, and buildDiagnosticReport separately when the application needs to own individual pipeline stages.

Contract

  • Object values deep-merge; arrays replace; explicit null overwrites.
  • Higher priority wins. Same-priority conflicts emit an issue and the later source wins.
  • Validation adapters return code, severity, and an optional normalized path.
  • Diagnostic report schema 0.2 is stable for the 1.x line.
  • Secret values must not be copied into issue messages, details, or provenance.

See the public API contract, 1.0 migration guide, and repository README.

License

MIT

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 0

Native requirements
0 direct targetsNot calculated transitive count
No declared dependencies in this collected response

Declarations describe requirements; they are not a resolved dependency graph.

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "shasum": "d1265985957fbb2c5898723d94bd8ae5523d1988",
  "tarball": "https://registry.npmjs.org/@0disoft/universal-config-engine-core/-/universal-config-engine-core-1.1.0-rc.1.tgz",
  "fileCount": 67,
  "integrity": "sha512-MxLBz038OFfKYVOBtPNoPHugwx0oHFZUDa7kq3cLzrl7BLL6Nn6NLUrGplHOoT+fUPW29hHzzf+6sh/vftZo/A==",
  "signatures": [
    {
      "sig": "MEUCIQC57pXE9yeinFEWTO8H5pC0qgQKFfMPZV+dPWp15GohvQIgBUV5Odtr4wIuZHp4H82zldv4+zg+C74v5BonNSHzdeg=",
      "keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"
    },
    {
      "sig": "MEUCICIlbkm8rBxkNNCmulfHS6fckbzG7+6aVloA+yGiTsS5AiEAtvMIKVU1hPg1Kv32Goota7hPhRcPKrzJ8C6N9wx2R+A=",
      "keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"
    }
  ],
  "attestations": {
    "url": "https://registry.npmjs.org/-/npm/v1/attestations/@0disoft%2funiversal-config-engine-core@1.1.0-rc.1",
    "provenance": {
      "predicateType": "https://slsa.dev/provenance/v1"
    }
  },
  "unpackedSize": 173020
}

Repository

PENDING
0disoft/universal-config-engine

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 22:09 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:8cd1075ab7577d3bfadf64cc661644930e7a7a805869409a62d6c8bdca4e326e

Other collected versions

1.1.220 Oct1.1.2-rc.120 Oct1.1.120 Oct1.1.1-rc.120 Oct1.1.020 Oct1.0.019 OctView all collected versions →