# @arcblock/validator

> Defines core data structures for states in OCAP server.

Latest version **1.30.24** (published 2026-05-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install @arcblock/validator
pnpm add @arcblock/validator
yarn add @arcblock/validator
bun add @arcblock/validator
```

## Health

**Score 60/100 (C)** — status: active.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 1.30.24 |
| Published | 2026-05-14 |
| First published | 2022-02-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 4 |
| Unpacked size | 75.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | wangshijun |
| Maintainers | wangshijun, polunzh, mave99a, gxw |

## Links

- npm: https://www.npmjs.com/package/@arcblock/validator
- npm.io page: https://npm.io/package/@arcblock/validator

## Dependencies (4)

- [valibot](https://npm.io/package/valibot.md) ^1.3.1
- [@ocap/util](https://npm.io/package/@ocap/util.md) 1.30.24
- [@arcblock/did](https://npm.io/package/@arcblock/did.md) 1.30.24
- [@ocap/mcrypto](https://npm.io/package/@ocap/mcrypto.md) 1.30.24

## Recent versions

- 1.30.24 (latest) — 2026-05-14
- 1.30.23 — 2026-05-13
- 1.30.22 — 2026-05-13
- 1.30.21 — 2026-05-12
- 1.30.20 — 2026-05-12
- 1.30.19 — 2026-05-12
- 1.30.18 — 2026-05-11
- 1.30.17 — 2026-05-11
- 1.30.16 — 2026-05-10
- 1.30.15 — 2026-05-08
- 1.30.14 — 2026-05-08
- 1.30.13 — 2026-05-08
- 1.30.12 — 2026-05-05
- 1.30.11 — 2026-05-03
- 1.30.10 — 2026-04-22
- … 366 more at https://npm.io/package/@arcblock/validator/versions

## README

# OCAP State

Defines core data structures for states in OCAP server.

---
_Source: https://npm.io/package/@arcblock/validator · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
