# yiminghe/async-validator

validate form asynchronous

Repository: https://github.com/yiminghe/async-validator
Canonical: https://ross.abutalabs.com/products/async-validator
Language: TypeScript
License: MIT
License Family: permissive
Last push: 2024-02-20T12:34:08+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4194, "days_push": 925, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 9092, forks 765 (observed 2026-08-28T04:10:28.322076+00:00)

## What it is
A JavaScript/TypeScript library for asynchronous validation of objects against declarative schema descriptors, supporting sync validators, async validators, and promises. It is widely used as the validation engine behind form libraries such as Ant Design's Form and Element UI.

## Use cases
- validate form fields asynchronously in javascript
- define schema-based validation rules for objects
- run async validators like checking uniqueness against an api
- validate nested objects and arrays with custom rules
- collect per-field error messages from failed validation
- power form validation in react or vue components

## When to choose
- you need promise-based or callback-based validation with custom async rules
- you want a small, battle-tested validator compatible with antd/element form schemas
- you need per-field error aggregation from a single validate call

## When to avoid
- you need schema validation for JSON payloads or config files where tools like ajv or zod fit better
- you want built-in TypeScript type inference of validated data shapes
- you need browser-native HTML form constraint validation only

## Facets
- artifact type: library
- maturity: stable
- function: form-handling
- domain: web-development, frontend, developer-tools
- platform: browser, cross-platform
- tags: async-validation, schema-validation, form-validation, typescript, nodejs

## Member repositories
- yiminghe/async-validator (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:28.322076+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:23:59.568445+00:00, confidence not recorded.
  - readme: https://github.com/yiminghe/async-validator (fetched 2026-08-28T04:10:28.322076+00:00, sha 78380890fb6e)
  - registry_npm: https://registry.npmjs.org/async-validator (fetched 2026-08-29T08:24:04.436062+00:00, sha 4d88dd733f29)
- Data as of 2026-08-30T08:39:29.467469+00:00.
