Ross ROSS = Recommend OSS · open-source software intelligence for agents

jshttp/http-errors

Create HTTP Errors observed · 2026-08-28

github.com/jshttp/http-errors · JavaScript · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

67/100

  • Activity 85
  • Release rhythm 25
  • Longevity 100
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: 4377
  • days_rel: 286
  • days_push: 93
  • n_releases_24m: 1

Full methodology

Adoption not part of the score

1559 stars · 115 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

http-errors is a Node.js library for creating HTTP error objects with status codes, messages, and custom properties. It integrates easily with frameworks like Express, Koa, and Connect for consistent error handling.

Use cases

  • create http error objects in nodejs
  • attach status codes to errors in express
  • send proper 404 and 401 errors from middleware
  • wrap fs errors as http errors
  • check if an error is an http error
  • customize error messages for api responses

When to choose

  • you build Express, Koa, or Connect apps and need structured HTTP errors
  • you want consistent status codes and expose flags on errors
  • you need to extend existing error objects with HTTP properties

When to avoid

  • you are not building HTTP servers or APIs
  • your framework already provides its own error creation utilities

Facets

library · maturity stable

error-handling http-server middleware backend web-development apis http-errors express koa connect nodejs

2 sources

Member repositories

RepositoryRoleHealth v2
jshttp/http-errorsmain67

For agents

markdown · JSON · MCP: product_card(name="jshttp/http-errors")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem