There are dozens of plugins for hapi, ranging from documentation to authentication, and much more. If you wrote or use a plugin that you don't see on this list, please send us a pull request.
- Designates an offical hapi family plugin
ACL support based on permissions hierarchy
Authentication provider agnostic authorization plugin for hapi apps
ACL Support for hapi apps
IP whitelisting auth scheme
A Rule Based Access Control module for hapi
An HTTP Basic authentication scheme
Third-party login plugin for hapi with built in Facebook, GitHub, Google, Instagram, LinkedIn, Twitter, Yahoo, Foursquare, VK, ArcGIS Online and Windows Live support
A cookie-based session authentication scheme
A bearer token based authentication scheme
Simplified JSON Web Token (JWT) authentication plugin
JsonWebToken implementation for Hapi.js v17+ with authentication plugin
JSON Web Token based Authentication powered by Keycloak
A Hapi v17+ plugin for simplified JSON Web Token (JWT) and Bearer auth tokens
A Hapi plugin that implements the OpenID-Connect authorization flow
A Hapi plugin that wraps passport-saml for SAML SSO
Hawk authentication plugin
JWT (JSON Web Token) Authentication.
A simplified browsable api documentation generator
A swagger documentation UI generator plugin for hapi
A plugin to generate swagger v2.0 compliant specifications based on hapi routes and joi schemas
A plugin to serve and configure swagger-ui
Brotli encoder and decoder
Create HTTP Problem Details (RFC7807) for hapi application errors
Translation module for hapi based on mashpie's i18n module
Configurable plugin to determine request language from URL, Cookie, Query and Header
Displays the routes table at startup
Sends request round trip metrics to statsd
Network traffic accounting
Health route for your hapi.js server
Fast and simple JSON logger
Realtime Monitoring solution for Hapi.js apps, inspired by GitHub Status
Well-formatted pino logger for hapi.js - inspired by morgan
Seamless WebSocket integration by injecting WebSocket messages as HTTP request
Support for multi-process publish/subscribe for nes
Server-Sent Events for hapi with support for streaming events
Wechat plugin for hapi
A plugin that makes Content-Security-Policy headers easy
CSRF crumb generation and validation for hapi
Simple and minimal rate limiting and bruteforce protection
Simple server-side session support for hapi
A hapi session plugin and cookie jar
A hapi view engine for React components
AdminBro - Admin Panel integrated into your hapijs routes
Generate URIs fast based on named hapi routes their parameters
Minimalist HALicious pagination reply interface for HapiJS
Config plugin for Hapi
Cron jobs for internal hapi.js routes
Cron jobs for internal hapi.js routes with leader election (mongodb or redis) - cluster mode
Request query, payload, and params sanitization
Custom error pages
Code generation for the hapijs framework
An API versioning plugin for hapi.
Automatically load routes from directory
A HapiJS plugin for AWS services.
Serialize Bookshelf.js models sent through Hapi reply
Exposes boom errors through the hapi reply interface
Decorators for HapiJS routes
Get better error details during development and skip the command line round trip to catch the issue
Custom error handling with ability to pass an object and render a custom error template or redirect to a specific url on error.
Easily handle http to https and www/non-www redirections
Geo locate requests by IP and provide the user’s location in your route handlers
HapiJS / LevelDB integration
Hapi.js plugin for MaxMind GeoIP2 Web Service
MongoDB object models for hapi applications
A simple Hapi MongoDB connection plugin, accessing one or several connections pools through server or request properties
A lightweight mongoose connection and configuration plugin for Hapi 9+
Hapi.js plugin that maps mongoose models to routes
Hapi mongodb connection plugin, especially for multiple connections
Another mysql plugin for Hapijs that supports multiple connections, inspired by Marsup/hapi-mongodb
Add named routes to your view templates
A simple bridge plugin between HapiJS and SocketIO
A multi-purpose plugin that allows you to autoload methods, handlers, routes and decorators using a simple signature convention.
Oracledb plugin for hapijs.
A simple / customizable pagination plugin for HapiJS
Co-routine based route handlers for asynchronous processing
Always send one or more custom HTTP headers, independent of the current route
Gracefully stop the hapi server on SIGINT (for graceful PM2 reloads)
Easy to use rate limiting to prevent brute-force attacks
A redis plugin for Hapijs that supports multiple connections, inspired by Marsup/hapi-mongodb
A hapi plugin that shortcuts “request.auth.credentials” to “request.user”
A Hapi plugin for adding x-response-time header to responses
A plugin to automatically load your routes
Hapi plugin to sanitize the request payload
A Hapi plugin for Sequelize ORM
File-based hapi plugin composer
Mount your express app onto your hapi server, aw heck!
A plugin dependency resolver
The hapi pal CLI, for searching hapi docs, scaffolding projects, and running custom server commands
Plugin for adding pre-handlers and post-handlers to routes
A limitd plugin for hapi, useful for rate-limiting/throttling
Mature and flexible rate limiter, DDoS and bruteforce protection at any scale in process Memory, Cluster or PM2, Redis, Memcached, MongoDb, etc. Block key for some duration, enable Leaky Bucket analogy, manage failover with insurance options, configure smart key blocking in memory and many others.
Request lifecycle property sealing
A RESTful API generator for hapi
A service layer for hapi
A model layer for hapi integrating Objection ORM
User-agent information plugin
Static file and single page application (spa) plugin for hapi
A plugin for setting the request.info.remoteAddress and request.info.remotePort based on the X-Forwarded-For and X-Forwarded-Port headers
Auto-generated, RESTful, CRUDdy route handlers for Objection models
The hapi utility toy chest
HTTP/2 server-push for hapi
Server decorator to list all defined hapi.js routes
Directory based autoloader for routes
RPC implementation for browser ⇔ Node.js communication.
Server-level file signature validation for raw request payloads in memory
Server-level file signature validation for raw stream request payloads
Server-level file signature validation for parsed request payloads in memory
Server-level file signature validation for raw temporary file request payloads
Server-level file signature validation for parsed temporary file request payloads
Validating payloads with the DuckyJS JSON validation language
Server-level file signature validation for parsed request payload file streams
Route-level file signature validation for request payloads in memory
Route-level file signature validation for temporary file request payloads
Server-level request payload validation
Route-level file signature validation for request payload file streams
HTTP-friendly error objects
A configuration document format, an API, and a foundation for A/B testing
Server composer
Proxy handler
Handle true zero downtime reloads when issuing a pm2 gracefulReload command
hapi plugin to build design-driven apis with OpenAPI (formerly swagger).
HAPI plugin for integrating GraphiQL, an interactive GraphQL user interface
General purpose node utilities
Static file and directory handlers
Object schema description language and validator for JavaScript objects
A simple testing utility with code coverage analysis
WebSocket adapter plugin for hapi routes
Hapi plugin for writing Micro Frontend Layout servers with Podium - https://podium-lib.io
Hapi plugin for writing Micro Frontend Fragment servers with Podium - https://podium-lib.io
A querystring parser with support for arrays and objects
Injects a fake HTTP request/response into your node server logic
Add tarmount handler for serving tar file contents
Topological sorting with grouping support
Templates rendering support
HTTP Client utilities