hapijs/boom
HTTP-friendly error objects observed · 2026-08-28
Health v2 · maintenance only
66/100
- Activity 95
- Release rhythm 8
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4981
- days_rel: n/a
- days_push: 31
- n_releases_24m: 0
Adoption not part of the score
2923 stars · 192 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
@hapi/boom is a Node.js library for creating HTTP-friendly error objects with status codes, payloads, and formatting helpers. It is part of the hapi ecosystem but works standalone or with any web framework.
Use cases
- create http error responses with status codes
- standardize error handling in node.js apis
- wrap errors with http status codes
- return json error payloads from rest api
- handle 404 and 500 errors consistently
- error handling for express or hapi apps
When to choose
- building node.js http apis needing consistent structured errors
- using the hapi framework ecosystem
- you want rich error objects with status codes and payloads
When to avoid
- non-http error handling where plain Error suffices
- frontend-only projects without a node backend
Facets
library · maturity stable
error-handling http-server middleware backend web-development developer-tools apis http-errors hapi-ecosystem error-objects status-codes nodejs javascript
2 sources
- readme: https://github.com/hapijs/boom · fetched 2026-08-28 · 40d71d0a3674
- registry_npm: https://registry.npmjs.org/boom · fetched 2026-08-29 · eb23ccc90e5d
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| hapijs/boom | main | 66 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem