# hapijs/hapi

The Simple, Secure Framework Developers Trust

Repository: https://github.com/hapijs/hapi
Canonical: https://ross.abutalabs.com/products/hapi
Homepage: https://hapi.dev
Language: JavaScript
License: NOASSERTION
License Family: other
Topics: hapi, nodejs, framework, http, application
Last push: 2026-08-19T16:27:14+00:00

## Health v2 (maintenance only)
Score: 67/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 8, longevity 100
- inputs: {"age_days": 5507, "days_push": 14, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 14793, forks 1360 (observed 2026-08-28T04:11:07.695304+00:00)

## What it is
@hapi/hapi is a mature Node.js web framework for building HTTP servers and APIs with secure defaults, a rich plugin system, and zero external dependencies. Originally developed at Walmart for Black Friday scale, it emphasizes predictability, configuration over middleware, and out-of-the-box functionality.

## Use cases
- build a REST API server in Node.js
- create a web server with secure defaults
- build enterprise-grade backend services
- structure a large application with plugins
- handle high-traffic HTTP endpoints
- add authentication and session management to a Node app
- replace Express with a framework with no middleware complexity

## When to choose
- you want a batteries-included Node.js HTTP framework with secure defaults
- you need a mature, battle-tested framework for enterprise backends
- you prefer configuration and a validated plugin model over middleware chains
- you want zero external dependencies for supply-chain security

## When to avoid
- you want a minimal, middleware-based framework like Express or Fastify
- you are building a frontend or static site
- you need a framework with the largest ecosystem of third-party middleware
- you are not using Node.js

## Facets
- artifact type: framework
- maturity: stable
- function: web-framework, http-server, routing, middleware, auth, caching, plugin-system
- domain: web-development, backend, apis, developer-tools
- platform: cross-platform
- tags: http-framework, rest-api, zero-dependencies, enterprise, server, nodejs, web-server

## Member repositories
- hapijs/hapi (main) score 67

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:07.695304+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:07:09.456802+00:00, confidence not recorded.
  - readme: https://github.com/hapijs/hapi (fetched 2026-08-28T04:11:07.695304+00:00, sha f4dfd1ec0e96)
  - homepage: https://hapi.dev (fetched 2026-08-29T08:05:38.429657+00:00, sha 5ebcaabd6dc8)
  - site_page: https://hapi.dev/tutorials/en_US/getting-started (fetched 2026-08-29T08:05:38.440129+00:00, sha 638a3c87c027)
  - site_page: https://hapi.dev/resources/changelog (fetched 2026-08-29T08:05:38.442510+00:00, sha 52f92f8ab4dd)
- Data as of 2026-08-30T08:39:29.467469+00:00.
