# hapi Node.js APIs

> Builds secure Node.js APIs with hapi, including input checks, login tokens, plugins and tests that need no server.

- Page: https://youraiskill.com/skill/terminalskills-hapi
- What it does: hapi is a Node.js web framework for building HTTP APIs from configuration: routes declare their validation, authentication, caching and CORS rules, and the framework enforces them before the handler runs. Use when a user asks to build or fix a hapi server, validate request payloads or responses with Joi, protect routes with JWT through @hapi/jwt, split an API into hapi plugins, cache results with server methods, hook into the request lifecycle, return errors with @hapi/boom, or test routes with server.inject().
- Niches: backend, coding
- Licence: Apache-2.0
- Status: Checked: open licence, author credited, passed the YourAISkill safety scan. Can be added to a paid pack.
- Contents: instructions and reference files only (2 files)

To add it, see https://youraiskill.com/guides/how-to-add-a-skill-to-claude
