node package manager


Web and services application framework

Lead Maintainer: Eran Hammer

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 17.x only supports node v8.9.0 and over. For older version of node please use version 16.x.

Development version: 17.1.x (release notes) Build Status

For the latest updates, change log, and release information visit and follow @hapijs on twitter. If you have questions, please open an issue in the discussion forum.


Development of the hapi core module generously supported by contributions from individuals and corporations. If you are benefiting from hapi and would like to help keep the project financially sustainable, please visit Eran Hammer's Patreon page or contact him via email.

Featured Sponsors

The v17 release would not have been possible without the generous financial support of the following Featured Sponsors who have gone above and beyond to make this work successful and sustainable. I am extremely grateful for their support.

Lob enables you to seamlessly print and mail documents, postcards, checks, and more via an API. They have been an early hapi adopters and vocal supporters. If you are looking to take your hapi and JS skills to the next level, check out their career page for exciting opportunities.


Auth0 is the new way to solve identity. You can add authentication to your app or API by writing just a few lines of code. I have been consistently impressed by their products (which I have used for client work) as well as their talented team. If you are looking for a new opportunity, Auth0 is hiring for a variety of positions.

Condé Nast Technology powers many of the world's most iconic brands like WIRED, Vogue, Vanity Fair, GQ. hapi is a core part of the company's digital stack and drives just about every web request to their sites. I've had a long relationship with the team which includes some of my closest friends. Want to be hapi-er? Check out their Careers page.

Active Supporters

  • CNN Digital
  • Contentful
  • The product development team at Creative Artists Agency

Legacy Supporters

Past major financial support for the project was provided by: