Back to Explore

jshttp/http-errors

GitHub
3 watchersOpen source

Last release:

This is a Node.js module for creating HTTP error objects for Express, Koa, Connect, and similar frameworks. It provides a `createError` API and helpers to attach status codes, messages, headers, and other properties, so you can pass standardized errors through your middleware.

Project status

  • Maintenance status: The repository appears to have ongoing activity (last upstream push on 2026-06-01), but the most recent tagged updates are older (v2.0.1 on 2025-11-20), suggesting intermittent maintenance rather than fast-paced releases.
  • Update cadence: Tagged updates are infrequent (major gap from v2.0.0 in 2021 to v2.0.1 in 2025, with no additional tagged updates after 2025-11-20 despite later upstream pushes).

AI summary generated

AI-generated from public sources. May be inaccurate. Report

Recent updates

  • v2.0.1

    v2.0.1 primarily updates CI and GitHub workflow tooling, including enhanced OSSF scorecard reporting. It also includes a test coverage addition around extending native errors without altering their prototype, plus some internal refactoring for readability.

    SecurityFeatures
  • v2.0.0

    No release notes were provided for v2.0.0 by the publisher. The code diff shows major behavior and API changes, especially around how `createError` parses arguments and which error constructors/exports are available due to updated `statuses` mappings.

    Breaking
  • 1.8.1

    Release 1.8.1 was published on 2021-11-14, but no release notes or changelog details were provided by the publisher. As a result, there is no documented information here about new features, bug fixes, breaking changes, security updates, or migration steps.