验证解析器: Yup、Zod、Superstruct、Joi、Vest、Class Validator、io-ts、Nope、computed-types、typanion、Ajv、TypeBox、ArkType、Valibot、effect-ts、Vi
验证解析器: Yup、Zod、Superstruct、Joi、Vest、Class Validator、io-ts、Nope、computed-types、typanion、Ajv、TypeBox、ArkType、Valibot、effect-ts、Vi
高性能、灵活且可扩展的表单,具有易于使用的验证功能。
解析器比较| resolver | 从模式中推断值 |
criteriaMode |
|---|---|---|
| AJV | ❌ | firstError | all |
| ata-validator | ❌ | firstError | all |
| Arktype | ✅ | firstError |
| class-validator | ✅ | firstError | all |
| computed-types | ✅ | firstError |
| 效果 | ✅ | firstError | all |
| fluentvalidation-ts | ❌ | firstError |
| io-ts | ✅ | firstError |
| joi | ❌ | firstError | all |
| Nope | ❌ | firstError |
| 标准模式 | ✅ | firstError | all |
| 顶层结构 | ✅ | firstError |
| typanion | ✅ | firstError |
| typebox | ✅ | firstError | all |
| typeschema | ❌ | firstError | all |
| valibot | ✅ | firstError | all |
| vest | ❌ | firstError | all |
| vine | ✅ | firstError | all |
| yup | ✅ | firstError | all |
| zod | ✅ | firstError | all |
暂无开放 Issues,或尚未同步最近议题。