Catalog npm
PACKAGE EXPLORERView in registry

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

npm

Zod validator adapter for Universal Config Engine.

configconfigurationvalidationzod
Versions collected21
Direct dependencies2From release 1.1.2
Last observed20 Oct, 22:09 UTC

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.

Versions 21

Collected releases
VersionPublishedDirect dependenciesOpen version
1.1.2Registry latest20 Oct 20262
1.1.2-rc.120 Oct 20262
1.1.120 Oct 20262
1.1.1-rc.120 Oct 20262
1.1.020 Oct 20262
1.1.0-rc.120 Oct 20262
1.0.019 Oct 20262
1.0.0-rc.519 Oct 20262
1.0.0-rc.411 Aug 20262
1.0.0-rc.322 Jul 20262
1.0.0-rc.215 Jul 20262
1.0.0-rc.114 Jul 20262
0.6.014 Jul 20262
0.5.014 Jul 20262
0.4.011 Jul 20262
0.3.111 Jul 20262
0.3.010 Jul 20262
0.2.110 Jul 20262
0.2.08 Jul 20262
0.1.28 Jul 20262

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

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:92c4a46574ec19578b29de3ff1983a23ff45111631feabe8b250ea6204f5677b