@hapi/hapi

HTTP Server framework

A configuration-centric framework with built-in validation.

When to choose it: Config-driven apps that want validation, auth and caching as first-class, built-in concepts.

  • + Built-in validation & auth
  • + Config over code
  • + Stable
  • - Smaller community now
  • - More verbose
Latest version
21.4.9
Monthly downloads
6,014,914
GitHub stars
14,786
Minified + gzip
Dependencies
License
BSD-3-Clause

Compare @hapi/hapi with

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