Catalog npm
Back to packageRELEASE DETAILS

0.2.1

npm

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

Zod validator adapter for Universal Config Engine.

configconfigurationvalidationzod
Published10 Jul 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
}
0.2.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": "e216f47750206bd3d11608306540e47c7fba8375",
  "tarball": "https://registry.npmjs.org/@0disoft/universal-config-engine-validator-zod/-/universal-config-engine-validator-zod-0.2.1.tgz",
  "fileCount": 6,
  "integrity": "sha512-ptT9zyiva50XTXDzK3evRyhqpoN2obVZnKii04Qqocy5zkUhzOuYDb22pzP8f8Mw3qS51LLIwkg23vAw4lIVjg==",
  "signatures": [
    {
      "sig": "MEUCIQDat+LHhb/3i79d3u4yTkTwaOo6vJFw8FPTxPf+1iCasQIgbO0AKjVO+mCL6qnjej3bebrDhZrDhPsKv9DAWJTuQX4=",
      "keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"
    }
  ],
  "attestations": {
    "url": "https://registry.npmjs.org/-/npm/v1/attestations/@0disoft%2funiversal-config-engine-validator-zod@0.2.1",
    "provenance": {
      "predicateType": "https://slsa.dev/provenance/v1"
    }
  },
  "unpackedSize": 5493
}

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:527c679266f742615788baedd8043c708c2f13982bdbdd1cf5aaa2e9af4cd469

Other collected versions

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