zod の代わりになるライブラリ
npm バリデーション・スキーマ
同じ分類でいま一番使われているのは ajv(週 5.24億 回)、4週間で一番伸びているのは arktype(+35.1%)です。
同じ分類のライブラリ 1行目が zod
比較ツールで開く →| パッケージ | 週間DL | 4週比 | 最新版の公開 |
|---|---|---|---|
| zod TypeScript-first schema declaration and validation library with static type infe | 4.61億 | +23.5% | 2026-10-12 |
| ajv Another JSON Schema Validator | 5.24億 | +17.3% | 2026-04-24 |
| @sinclair/typebox Json Schema Type Builder with Static Type Resolution for TypeScript | 1.62億 | +23.0% | 2026-07-11 |
| valibot The modular and type safe schema library for validating structural data | 3,306万 | +33.5% | 2026-09-09 |
| joi Object schema validation | 3,283万 | +15.8% | 2026-11-04 |
| class-validator Decorator-based property validation for classes. | 1,745万 | +25.4% | 2026-02-26 |
| yup1年以上更新なし Dead simple Object schema validation | 1,561万 | +15.6% | 2025-09-21 |
| superstruct2年以上更新なし A simple and composable way to validate data in JavaScript (and TypeScript). | 925万 | +25.8% | 2024-07-06 |
| arktype TypeScript's 1:1 validator, optimized from editor to runtime | 308万 | +35.1% | 2026-10-20 |
「代わり」は同じ分類に入っているライブラリです。機能や書き方は同じではないので、移る前にそれぞれの公式ドキュメントで確かめてください。