jquense/yup
Dead simple Object schema validation observed · 2026-08-28
Health v2 · maintenance only
67/100
- Activity 99
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4363
- days_rel: n/a
- days_push: 7
- n_releases_24m: 0
Adoption not part of the score
23671 stars · 945 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Yup is a TypeScript schema builder for runtime value parsing and validation, letting you define object schemas that coerce, transform, and assert the shape of data. It supports async validation, static type inference, and rich error details.
Use cases
- validate form input on the client and server
- parse and coerce untrusted JSON into typed objects
- infer TypeScript types from a schema
- validate API request bodies
- share validation logic between frontend and backend
- assert the shape of fetched data at runtime
When to choose
- you need expressive, interdependent object validations with coercion
- you want schema-driven TypeScript type inference
- you need async validation for server-side checks
- you're using form libraries like Formik that integrate with yup
When to avoid
- you need maximum runtime performance for hot paths
- you prefer a lightweight minimal validator like zod for simple cases
- you need schema validation for non-JavaScript languages
Facets
library · maturity stable
form-handling serialization type-system web-development frontend developer-tools browser cross-platform schema-validation runtime-validation data-validation typescript-inference form-validation nodejs typescript
2 sources
- readme: https://github.com/jquense/yup · fetched 2026-08-28 · 3d70d05c8b0f
- registry_npm: https://registry.npmjs.org/yup · fetched 2026-08-29 · 0257d8966725
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| jquense/yup | main | 67 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem