{
  "name": "http-proxy-agent",
  "url": "https://canirequire.com/package/http-proxy-agent/",
  "description": "An HTTP(s) proxy `http.Agent` implementation for HTTP",
  "latest": "9.1.0",
  "latestPublished": "2026-06-08T16:47:24.200Z",
  "format": "esm-only",
  "summary": "http-proxy-agent@9.1.0 is ESM-only. http-proxy-agent dropped its CommonJS build in 8.0.0 (March 2026). The last version you can require() on every Node.js version, including 18 and older, is 7.0.2, published Feb 15, 2024. On Node.js 20.19+, 22.12+ and every newer release, require(\"http-proxy-agent\") works anyway: Node can load synchronous ES modules through require(). Verified on Node 20, 22, 24, 26. Node.js 18 and older still fail with ERR_REQUIRE_ESM. http-proxy-agent@9.1.0 declares engines \">= 20\", so Node.js 18 is outside its supported range regardless of module format.",
  "esmOnlySince": "8.0.0",
  "esmOnlySinceDate": "2026-03-11T16:58:43.756Z",
  "lastCommonJsVersion": "7.0.2",
  "lastCommonJsDate": "2024-02-15T19:14:20.532Z",
  "nativeEsmSince": "8.0.0",
  "types": "bundled",
  "nodeEngines": ">= 20",
  "deprecated": null,
  "license": "MIT",
  "repository": "https://github.com/TooTallNate/proxy-agents",
  "weeklyDownloads": 124662659,
  "runtime": {
    "verifiedAt": "2026-09-09T15:27:40.821Z",
    "node": {
      "18": {
        "require": false,
        "import": true,
        "requireError": "ERR_REQUIRE_ESM",
        "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": "9.1.0",
      "format": "esm-only",
      "published": "2026-06-08T16:47:24.200Z"
    },
    {
      "version": "9.0.0",
      "format": "esm-only",
      "published": "2026-04-01T06:57:49.390Z"
    },
    {
      "version": "8.0.0",
      "format": "esm-only",
      "published": "2026-03-11T16:58:43.756Z"
    },
    {
      "version": "7.0.2",
      "format": "cjs",
      "published": "2024-02-15T19:14:20.532Z"
    },
    {
      "version": "7.0.1",
      "format": "cjs",
      "published": "2024-02-12T18:24:38.246Z"
    },
    {
      "version": "7.0.0",
      "format": "cjs",
      "published": "2023-05-25T00:22:59.629Z"
    },
    {
      "version": "6.1.1",
      "format": "cjs",
      "published": "2023-05-24T22:09:59.193Z"
    },
    {
      "version": "6.1.0",
      "format": "cjs",
      "published": "2023-05-18T19:31:24.102Z"
    },
    {
      "version": "6.0.1",
      "format": "cjs",
      "published": "2023-05-05T22:04:10.483Z"
    },
    {
      "version": "6.0.0",
      "format": "cjs",
      "published": "2023-05-04T20:33:19.763Z"
    },
    {
      "version": "5.0.0",
      "format": "cjs",
      "published": "2021-09-23T00:35:50.066Z"
    },
    {
      "version": "4.0.1",
      "format": "cjs",
      "published": "2020-02-08T23:58:34.221Z"
    },
    {
      "version": "4.0.0",
      "format": "cjs",
      "published": "2020-01-23T20:30:56.749Z"
    },
    {
      "version": "3.0.0",
      "format": "cjs",
      "published": "2019-12-10T20:45:34.500Z"
    },
    {
      "version": "2.1.0",
      "format": "cjs",
      "published": "2018-03-03T23:49:40.465Z"
    },
    {
      "version": "2.0.0",
      "format": "cjs",
      "published": "2017-06-27T17:52:31.712Z"
    },
    {
      "version": "1.0.0",
      "format": "cjs",
      "published": "2015-07-11T01:02:50.657Z"
    },
    {
      "version": "0.2.7",
      "format": "cjs",
      "published": "2015-07-06T22:42:36.348Z"
    },
    {
      "version": "0.2.6",
      "format": "cjs",
      "published": "2014-06-11T21:52:51.873Z"
    },
    {
      "version": "0.2.5",
      "format": "cjs",
      "published": "2014-04-09T23:49:19.762Z"
    },
    {
      "version": "0.2.4",
      "format": "cjs",
      "published": "2014-01-13T04:32:27.115Z"
    },
    {
      "version": "0.2.3",
      "format": "cjs",
      "published": "2013-11-18T19:50:49.096Z"
    },
    {
      "version": "0.2.2",
      "format": "cjs",
      "published": "2013-11-16T20:39:12.871Z"
    },
    {
      "version": "0.2.1",
      "format": "cjs",
      "published": "2013-10-28T19:37:37.154Z"
    },
    {
      "version": "0.2.0",
      "format": "cjs",
      "published": "2013-09-17T00:17:14.847Z"
    },
    {
      "version": "0.1.0",
      "format": "cjs",
      "published": "2013-09-03T22:54:53.966Z"
    },
    {
      "version": "0.0.2",
      "format": "cjs",
      "published": "2013-07-11T21:05:54.783Z"
    },
    {
      "version": "0.0.1",
      "format": "cjs",
      "published": "2013-07-09T20:36:59.134Z"
    }
  ]
}