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 ArrayValidator

Constructors

new
ArrayValidator(
validator?: Shape | (() => Shape),
)

Type Parameters

Shape extends BaseValidator<any, any, any>
Input extends any[] = inferInput<Shape>[]
Output = inferOutput<Shape>[]

Properties

protected
abstract
Validator: Shape | (() => Shape)

Methods

Static Properties

Add Package

deno add jsr:@oridune/validator

Import symbol

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

---- OR ----

Import directly with a jsr specifier

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

Add Package

npx jsr add @oridune/validator

Import symbol

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

Add Package

yarn dlx jsr add @oridune/validator

Import symbol

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

Add Package

pnpm dlx jsr add @oridune/validator

Import symbol

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

Add Package

bunx jsr add @oridune/validator

Import symbol

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