{
  "name": "http-errors",
  "url": "https://canirequire.com/package/http-errors/",
  "description": "Create HTTP error objects",
  "latest": "2.0.1",
  "latestPublished": "2025-11-20T19:12:22.755Z",
  "format": "cjs",
  "summary": "http-errors@2.0.1 is a CommonJS package. http-errors ships CommonJS only. require(\"http-errors\") works everywhere. import \"http-errors\" also works because Node.js and Bun can import CommonJS from ES modules, but only the default export is guaranteed; named imports depend on Node's static analysis of the module.",
  "esmOnlySince": null,
  "esmOnlySinceDate": null,
  "lastCommonJsVersion": "2.0.1",
  "lastCommonJsDate": "2025-11-20T19:12:22.755Z",
  "nativeEsmSince": null,
  "types": "definitely-typed",
  "nodeEngines": ">= 0.8",
  "deprecated": null,
  "license": "MIT",
  "repository": "https://github.com/jshttp/http-errors",
  "weeklyDownloads": 149403825,
  "runtime": {
    "verifiedAt": "2026-09-09T15:27:37.264Z",
    "node": {
      "18": {
        "require": true,
        "import": true,
        "requireError": null,
        "importError": null
      },
      "20": {
        "require": true,
        "import": true,
        "requireError": null,
        "importError": null
      },
      "22": {
        "require": true,
        "import": true,
        "requireError": null,
        "importError": null
      },
      "24": {
        "require": true,
        "import": true,
        "requireError": null,
        "importError": null
      },
      "26": {
        "require": true,
        "import": true,
        "requireError": null,
        "importError": null
      }
    },
    "bun": {
      "require": true,
      "import": true,
      "requireError": null,
      "importError": null
    }
  },
  "formatHistory": [
    {
      "version": "2.0.1",
      "format": "cjs",
      "published": "2025-11-20T19:12:22.755Z"
    },
    {
      "version": "2.0.0",
      "format": "cjs",
      "published": "2021-12-18T03:30:42.140Z"
    },
    {
      "version": "1.8.1",
      "format": "cjs",
      "published": "2021-11-14T23:20:34.351Z"
    },
    {
      "version": "1.8.0",
      "format": "cjs",
      "published": "2020-06-29T05:41:17.267Z"
    },
    {
      "version": "1.7.3",
      "format": "cjs",
      "published": "2019-06-24T23:21:18.236Z"
    },
    {
      "version": "1.7.2",
      "format": "cjs",
      "published": "2019-02-18T19:53:25.820Z"
    },
    {
      "version": "1.7.1",
      "format": "cjs",
      "published": "2018-09-08T22:16:32.820Z"
    },
    {
      "version": "1.7.0",
      "format": "cjs",
      "published": "2018-07-30T17:17:08.342Z"
    },
    {
      "version": "1.6.3",
      "format": "cjs",
      "published": "2018-03-29T20:29:06.751Z"
    },
    {
      "version": "1.6.2",
      "format": "cjs",
      "published": "2017-08-05T04:08:45.938Z"
    },
    {
      "version": "1.6.1",
      "format": "cjs",
      "published": "2017-02-21T03:23:22.251Z"
    },
    {
      "version": "1.6.0",
      "format": "cjs",
      "published": "2017-02-15T02:32:16.946Z"
    },
    {
      "version": "1.5.1",
      "format": "cjs",
      "published": "2016-11-17T05:43:32.057Z"
    },
    {
      "version": "1.5.0",
      "format": "cjs",
      "published": "2016-05-19T01:34:41.193Z"
    },
    {
      "version": "1.4.0",
      "format": "cjs",
      "published": "2016-01-29T05:29:34.421Z"
    },
    {
      "version": "1.3.1",
      "format": "cjs",
      "published": "2015-02-03T02:06:48.009Z"
    },
    {
      "version": "1.3.0",
      "format": "cjs",
      "published": "2015-02-02T01:09:28.350Z"
    },
    {
      "version": "1.2.8",
      "format": "cjs",
      "published": "2014-12-09T20:41:08.043Z"
    },
    {
      "version": "1.2.7",
      "format": "cjs",
      "published": "2014-10-15T04:16:16.798Z"
    },
    {
      "version": "1.2.6",
      "format": "cjs",
      "published": "2014-10-03T07:59:29.863Z"
    },
    {
      "version": "1.2.5",
      "format": "cjs",
      "published": "2014-09-29T04:22:37.194Z"
    },
    {
      "version": "1.2.4",
      "format": "cjs",
      "published": "2014-09-22T01:02:14.380Z"
    },
    {
      "version": "1.2.3",
      "format": "cjs",
      "published": "2014-09-22T00:55:10.961Z"
    },
    {
      "version": "1.2.2",
      "format": "cjs",
      "published": "2014-09-22T00:44:44.079Z"
    },
    {
      "version": "1.2.1",
      "format": "cjs",
      "published": "2014-09-22T00:44:17.769Z"
    },
    {
      "version": "1.2.0",
      "format": "cjs",
      "published": "2014-09-09T18:10:07.228Z"
    },
    {
      "version": "1.1.0",
      "format": "cjs",
      "published": "2014-09-09T05:00:38.695Z"
    },
    {
      "version": "1.0.1",
      "format": "cjs",
      "published": "2014-09-08T20:20:32.230Z"
    },
    {
      "version": "1.0.0",
      "format": "cjs",
      "published": "2014-09-08T20:04:47.893Z"
    },
    {
      "version": "0.0.1",
      "format": "cjs",
      "published": "2012-11-18T05:58:24.328Z"
    }
  ]
}