joi

Object schema validation

Rich, mature validation for Node back-ends.

When to choose it: Server-side Node validation (the Hapi ecosystem) with very rich rules — when you don't need static TS types.

  • + Very rich rule set
  • + Mature & stable
  • - No static type inference
  • - Backend-oriented
Latest version
18.2.1
Monthly downloads
84,275,570
GitHub stars
21,187
Minified + gzip
52.4 kB
Dependencies
7
License
BSD-3-Clause

Compare joi with

Data from npm, Bundlephobia and GitHub. Last updated 2026-06-02.