Skip to main content
This release is 3 versions behind 0.4.4 — the latest version of @oridune/validator. Jump to latest

Oridune validator is a TypeScript-first schema declaration and validation library like Zod.

This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
This package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Bun
This package works with Browsers
JSR Score
41%
Published
a week ago (0.4.1)
class AndValidator

Constructors

new
AndValidator(
validators: [...Shape],
)

Type Parameters

Shape extends Array<BaseValidator<any, any, any> | (() => BaseValidator<any, any, any>)>

Properties

protected
Validators: (BaseValidator<any, any, any> | (() => BaseValidator<any, any, any>))[]

Methods

Static Properties

Add Package

deno add jsr:@oridune/validator

Import symbol

import { AndValidator } from "@oridune/validator";

---- OR ----

Import directly with a jsr specifier

import { AndValidator } from "jsr:@oridune/validator";

Add Package

npx jsr add @oridune/validator

Import symbol

import { AndValidator } from "@oridune/validator";

Add Package

yarn dlx jsr add @oridune/validator

Import symbol

import { AndValidator } from "@oridune/validator";

Add Package

pnpm dlx jsr add @oridune/validator

Import symbol

import { AndValidator } from "@oridune/validator";

Add Package

bunx jsr add @oridune/validator

Import symbol

import { AndValidator } from "@oridune/validator";