Catalog npm
Back to packageRELEASE DETAILS

1.1.0-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.0-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": "9f26d14018685219e45ec6b6f607cab45f0d7b0f",
  "tarball": "https://registry.npmjs.org/@0disoft/universal-config-engine-validator-zod/-/universal-config-engine-validator-zod-1.1.0-rc.1.tgz",
  "fileCount": 7,
  "integrity": "sha512-aIro3wFJXSYBpX4duEuFSZYRsUm9z8M9VsXiGh80JegTZgbSTlQz+UJChybxVoUK7Hb3YGzjhZF5ezXalOhbuQ==",
  "signatures": [
    {
      "sig": "MEUCIQDOUnzGy1eaaOW2O58N9VRhyxJIHbIAXh0zZ3ZOji5a7AIgR6WThA7od8VBNW9aIWxom1FBFkS1wTA9S0uDTWLr/OI=",
      "keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"
    },
    {
      "sig": "MEUCIQDkg7z+1pF9x14Tdgbl1ZtnfwwZ9meJoLNQGBBzoMIjcAIgPfQ6eNJch4W6DjtcWsgg9ZLB921v3IKAyCtdl6aiJU0=",
      "keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"
    }
  ],
  "attestations": {
    "url": "https://registry.npmjs.org/-/npm/v1/attestations/@0disoft%2funiversal-config-engine-validator-zod@1.1.0-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:98909b3d68c0d7b20503c760042a6d0a41389dfef956d101cc8a3dd2ca854cce

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 →