Skip to content
JS
Package

hapi

HTTP Server framework

v18.1.0BSD-3-ClauseCommonJSTypes: NoneHTTP servers and web frameworks
$ npm install hapi
Deprecated on npm
This version contains severe security issues and defects and should not be used! Please upgrade to the latest version of @hapi/hapi or consider a commercial license (https://github.com/hapijs/hapi/issues/4114)

Key numbers

As of 25 Sept 2026
Weekly downloads
65.4k
+12% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
18
Direct, from package.json
Last release
-
v18.1.0
GitHub stars
14.8k
1.4k forks
Open issues / PRs
45 / 11
Contributors
-
Commits, last 52 weeks
18

Downloads

Last week 2026-09-15 to 2026-09-21
050k100k150kSept 2025Mar 2026Sept 2026High 107.5k (21 Oct 2025)Low 24.4k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

65,432 downloads last week, 305,633 in the last month. The 12-month change of +12% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
18.1.0
First published
-
Last push to GitHub
16 Sept 20268 days before the snapshot
Repository archived
No
Open issues
45
Open pull requests
11
Commits, last 52 weeks
18
Dependents on npm
-

Major versions

-

Recent releases

-

Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
176 kB
Dependencies (18)
joiammoboomcallhoekshottopoheavymimosacceptbouncecatboxpodiumsomeversubtextteamworkstatehoodcatbox-memory
npm install hapi
  • jsDelivrhttps://cdn.jsdelivr.net/npm/hapi@18.1.0/
  • unpkghttps://unpkg.com/hapi@18.1.0/
  • esm.shhttps://esm.sh/hapi@18.1.0
PackageWeekly downloadsGzipLast releaseModuleComparison
restana5.9k-19 days agoCommonJS-
@tinyhttp/app421.2k-1 month agoESM only-
egg20.2k-8 months agoCommonJS-
pure-http7.9k-2 years agoCommonJS-
milliparsec245.9k-23 days agoESM only-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): deprecated.