# hapi

> HTTP Server framework

Latest version **18.1.0** (published 2019-02-04) · BSD-3-Clause license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install hapi
pnpm add hapi
yarn add hapi
bun add hapi
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 18.1.0 |
| Published | 2019-02-04 |
| First published | 2011-08-06 |
| Weekly downloads | 0 |
| License | BSD-3-Clause |
| TypeScript types | separate (@types/hapi) |
| Module format | CommonJS |
| Dependencies | 18 |
| Unpacked size | 176.1 KB |
| Known vulnerabilities | 1 (+4 in 4 direct dependencies) |
| Install scripts | no |
| GitHub stars | 14788 |
| Maintainers | hueniverse |
| Keywords | framework, http, api, web |

## Links

- npm: https://www.npmjs.com/package/hapi
- Repository: https://github.com/hapijs/hapi
- Homepage: https://hapijs.com
- Issues: https://github.com/hapijs/hapi/issues
- npm.io page: https://npm.io/package/hapi

## Dependencies (18)

- [joi](https://npm.io/package/joi.md) 14.x.x
- [ammo](https://npm.io/package/ammo.md) 3.x.x
- [boom](https://npm.io/package/boom.md) 7.x.x
- [call](https://npm.io/package/call.md) 5.x.x
- [hoek](https://npm.io/package/hoek.md) 6.x.x
- [shot](https://npm.io/package/shot.md) 4.x.x
- [topo](https://npm.io/package/topo.md) 3.x.x
- [heavy](https://npm.io/package/heavy.md) 6.x.x
- [mimos](https://npm.io/package/mimos.md) 4.x.x
- [accept](https://npm.io/package/accept.md) 3.x.x
- [bounce](https://npm.io/package/bounce.md) 1.x.x
- [catbox](https://npm.io/package/catbox.md) 10.x.x
- [podium](https://npm.io/package/podium.md) 3.x.x
- [somever](https://npm.io/package/somever.md) 2.x.x
- [subtext](https://npm.io/package/subtext.md) 6.x.x
- [teamwork](https://npm.io/package/teamwork.md) 3.x.x
- [statehood](https://npm.io/package/statehood.md) 6.x.x
- [catbox-memory](https://npm.io/package/catbox-memory.md) 4.x.x

## Alternatives

- [launchdarkly-js-client-sdk](https://npm.io/package/launchdarkly-js-client-sdk.md) — 2.5M weekly downloads
- [@elastic/elasticsearch](https://npm.io/package/@elastic/elasticsearch.md) — 2.1M weekly downloads
- [@c8y/client](https://npm.io/package/@c8y/client.md) — 15.3K weekly downloads
- [@signaldb/maverickjs](https://npm.io/package/@signaldb/maverickjs.md) — 1.7K weekly downloads
- [@bbc/http-transport-cache](https://npm.io/package/@bbc/http-transport-cache.md) — 1.2K weekly downloads

## Recent versions

- 18.1.0 (latest) — 2019-02-04
- 16.8.4 (v16-legacy) — 2024-01-06
- 17.8.5 (lts) — 2019-03-19
- 17.0.1 (next) — 2017-11-05
- 13.5.3 (override) — 2016-07-29
- 17.8.4 — 2019-02-04
- 18.0.1 — 2019-01-31
- 17.8.3 — 2019-01-31
- 17.8.2 — 2019-01-31
- 18.0.0 — 2019-01-18
- 17.8.1 — 2018-11-23
- 17.8.0 — 2018-11-23
- 16.7.0 — 2018-11-06
- 17.7.0 — 2018-11-06
- 16.6.5 — 2018-11-05
- … 280 more at https://npm.io/package/hapi/versions

## README

### Web and services application framework

Lead Maintainer: [Eran Hammer](https://github.com/hueniverse)

**hapi** is a simple to use configuration-centric framework with built-in support for input validation, caching,
authentication, and other essential facilities for building web and services applications. **hapi** enables
developers to focus on writing reusable application logic in a highly modular and prescriptive approach. 

Version 18.x only supports node v8.12.0 and over. For older version of node please use hapi version 16.x.

Development version: **18.1.x** ([release notes](https://github.com/hapijs/hapi/issues?labels=release+notes&page=1&state=closed)) 
[![Linux Build Status](https://secure.travis-ci.org/hapijs/hapi.svg?branch=master)](https://travis-ci.org/hapijs/hapi)
[![Windows Build Status](https://ci.appveyor.com/api/projects/status/github/hapijs/hapi?branch=master&svg=true)](https://ci.appveyor.com/project/hueniverse/hapi)

For the latest updates, [change log](https://hapijs.com/updates), and release information visit [hapijs.com](https://hapijs.com) and follow [@hapijs](https://twitter.com/hapijs) on twitter. If you have questions, please open an issue in the
[discussion forum](https://github.com/hapijs/discuss).

# Sponsorship

Development of the **hapi** core module generously supported by contributions from [individuals and corporations](https://github.com/hapijs/hapi/blob/master/SPONSORS.md).
If you are benefiting from **hapi** and would like to help keep the project financially sustainable, please visit
Eran Hammer's [Patreon page](https://www.patreon.com/eranhammer) or contact him [via email](mailto:eran@hammer.io).

## Featured Sponsors

[![Auth0](https://user-images.githubusercontent.com/56631/31878562-5c64483a-b78f-11e7-92da-5a991ebb302d.png)](https://bit.ly/auth0h-rn)

## Active Supporters

- **CNN Digital**
- **[Contentful](https://www.contentful.com/)**
- The product development team at **Creative Artists Agency**
- **[Chords](https://getonchords.com)**
- **[First + Third](https://firstandthird.com)**

## Legacy Supporters

Past major financial support for the project was provided by:
- Benjamin Flesch and [StriveWire](https://strivewire.com/)
- [Condé Nast Technology](https://technology.condenast.com/)
- [![Lob](https://user-images.githubusercontent.com/56631/42724877-60d54714-872f-11e8-97e9-07726418f41f.png)](https://lob.com/)

---
_Source: https://npm.io/package/hapi · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
