hapijs/joi
The most powerful data validation library for JS observed · 2026-08-28
Health v2 · maintenance only
76/100
- Activity 98
- Release rhythm 35
- Longevity 100
Flags: no_releases no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5099
- days_rel: n/a
- days_push: 14
- n_releases_24m: 0
Adoption not part of the score
21180 stars · 1512 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Joi is a schema description language and data validator for JavaScript, allowing developers to define validation rules for objects and values. It is the most popular validation library in the Node.js ecosystem, originally built for the hapi framework.
Use cases
- validate request payloads in an API
- validate user input from forms
- define schemas for configuration objects
- validate JSON data structures
- sanitize and validate environment variables
- validate data before inserting into a database
When to avoid
- you need TypeScript-first type inference (consider zod instead)
- you want a schema library shared between frontend and backend with type generation
- you need validation in a non-JavaScript language
Facets
library · maturity stable
form-handling serialization developer-tools web-development backend schema-validation data-validator schema-description-language hapi nodejs javascript
1 source
- readme: https://github.com/hapijs/joi · fetched 2026-08-28 · 52773d75ca79
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| hapijs/joi | main | 76 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem