Back to Explore

jshttp/methods

GitHub
1 watchersOpen source

Last release:

Provides a Node.js module that exports the list of HTTP verb names supported by Node.js core’s HTTP parser. It returns a lower-cased array like `http.METHODS` when available, and otherwise uses a fallback snapshot (useful for environments or bundlers that lack Node.js’s `http.METHODS`, such as older Node.js versions or browserify).

Project status

  • Maintenance status: GitHub upstream shows a recent push on 2026-04-02, suggesting the repository is not completely abandoned, but the latest publisher-provided updates listed here are from 2016-01-18, so externally visible update/tag cadence appears very infrequent.
  • Apparent update cadence: After v1.1.0 in 2014-07, updates arrive sporadically (v1.1.1 in 2014-12, then v1.1.2 in 2016-01), which is a multi-year gap compared to today (2026-08).

AI summary generated

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

Recent updates

  • v1.1.2

    v1.1.2 makes a small runtime change by enabling strict mode in index.js and refactors how the module computes its exported list of HTTP methods. The rest of the diff is focused on CI/test configuration, dev dependency bumps, and adding a Browserify-based test to validate the fallback behavior.

  • v1.1.1

    v1.1.1 has no publisher-provided release notes. The code diff shows this release is mostly project metadata and tooling updates, with a likely functional change intended to improve browserify behavior.

  • v1.1.0

    Release v1.1.0 was published on 2014-07-06, but the publisher did not provide any release notes or change log content. As a result, there is no documented information here about new features, fixes, breaking changes, or migration steps.

  • v1.0.1

    Release v1.0.1 updates the module version to 1.0.1 and changes the way HTTP method exports are produced in index.js. The release notes section is empty, so the only described intent comes from History.md and the actual code diff.

  • v1.0.0

    This release bumps the package from v0.1.0 to v1.0.0 and updates the exported HTTP methods list. It also adds a test suite (using Mocha), introduces a .gitignore entry for node_modules, and updates History.md to mention adding PURGE.

    Features
  • v0.1.0

    This release updates the `methods` package to generate its exported HTTP method list from Node's built-in `http.METHODS` when available, instead of only using a static array. It also extends the static fallback list with an additional `search` method and bumps the package version metadata.

    BreakingFeatures
  • v0.0.1

    This release is version v0.0.1, and no release notes were provided by the publisher. As a result, there is no documented information about new functionality, fixes, or breaking changes in this release.