Catalog npm
Back to packageRELEASE DETAILS

1.1.1-rc.1

npm

@0disoft/universal-config-engine-validator-zod

Zod validator adapter for Universal Config Engine.

configconfigurationvalidationzod
Published20 Oct 2026
Direct dependencies2
Transitive dependenciesNot calculated

README

Current package documentation

@0disoft/universal-config-engine-validator-zod

Zod validation adapter for Universal Config Engine. It preserves Zod's inferred output type for adapter-local use while core keeps the resolved pipeline config as the authoritative output.

Install

npm install @0disoft/universal-config-engine-core \
  @0disoft/universal-config-engine-validator-zod zod

Node.js >=24, ESM, and Zod ^4.4.3 are required.

Use

import { runValidators } from "@0disoft/universal-config-engine-core";
import { createZodValidator } from "@0disoft/universal-config-engine-validator-zod";
import { z } from "zod";

const validator = createZodValidator({
  id: "service-schema",
  schema: z.object({
    service: z.object({ port: z.number().int().positive() })
  })
});

const validation = await runValidators({
  config: { service: { port: 8080 } },
  provenance: [],
  validators: [validator]
});

console.log(validation.ok);

ValidatorResult.value is adapter-local typed output. It does not replace the pipeline config and is not passed to later validators.

See the validator adapter contract and typed output decision.

License

MIT

Downloads & popularity

Awaiting observations

No metric observations yet

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

Declared dependencies 3

Native requirements
2 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
@0disoft/universal-config-engine-core
Environment
{
  "local_name": "@0disoft/universal-config-engine-core",
  "alias": false,
  "peer_metadata": null
}
1.1.1-rc.1runtime
zod
Environment
{
  "local_name": "zod",
  "alias": false,
  "peer_metadata": null
}
^4.4.3development
zod
Environment
{
  "local_name": "zod",
  "alias": false,
  "peer_metadata": null
}
^4.4.3peer

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "shasum": "7c3f24769a57e5b04c52e94424ed29c828db7ea2",
  "tarball": "https://registry.npmjs.org/@0disoft/universal-config-engine-validator-zod/-/universal-config-engine-validator-zod-1.1.1-rc.1.tgz",
  "fileCount": 7,
  "integrity": "sha512-nE4oOWeprQsm/86TaQ9tWwHlNCIKDr7P4zrbrJedLaWlpq2C3mqp6OU/RQqTZCFx0QmCqpT57YOxjtVSfKpWOA==",
  "signatures": [
    {
      "sig": "MEUCIDuWMSpLXCX/gcs2ECtwgRTxlbd1Q3tAAGqD4ruWK4xbAiEArEwtZQpytyxggv0mRm21Rs9E8wEx092d2NNs9OEzEGI=",
      "keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"
    },
    {
      "sig": "MEYCIQDzJ09UJEdgIYPePQnvTJT/K78x4B1xIzGMeG8llNC+AAIhAL4yElyDblsyGNS2VIWVl0aDaTXWX8LAxpuejlmIK3ZO",
      "keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"
    }
  ],
  "attestations": {
    "url": "https://registry.npmjs.org/-/npm/v1/attestations/@0disoft%2funiversal-config-engine-validator-zod@1.1.1-rc.1",
    "provenance": {
      "predicateType": "https://slsa.dev/provenance/v1"
    }
  },
  "unpackedSize": 6712
}

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:7014f3ee86bd5d935a499d2c22e45b5ddf053feafa3281db08de4e4682010583

Other collected versions

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