{
  "name": "decompress-response",
  "url": "https://canirequire.com/package/decompress-response/",
  "description": "Decompress a HTTP response if needed",
  "latest": "10.0.0",
  "latestPublished": "2025-10-13T18:04:04.805Z",
  "format": "esm-only",
  "summary": "decompress-response@10.0.0 is ESM-only. decompress-response dropped its CommonJS build in 8.0.0 (October 2021). The last version you can require() on every Node.js version, including 18 and older, is 7.0.0, published Feb 12, 2021. On Node.js 20.19+, 22.12+ and every newer release, require(\"decompress-response\") 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. decompress-response@10.0.0 declares engines \">=20\", so Node.js 18 is outside its supported range regardless of module format.",
  "esmOnlySince": "8.0.0",
  "esmOnlySinceDate": "2021-10-27T10:54:40.261Z",
  "lastCommonJsVersion": "7.0.0",
  "lastCommonJsDate": "2021-02-12T10:20:36.454Z",
  "nativeEsmSince": "8.0.0",
  "types": "bundled",
  "nodeEngines": ">=20",
  "deprecated": null,
  "license": "MIT",
  "repository": "https://github.com/sindresorhus/decompress-response",
  "weeklyDownloads": 45933317,
  "runtime": {
    "verifiedAt": "2026-09-09T15:28:19.948Z",
    "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": "10.0.0",
      "format": "esm-only",
      "published": "2025-10-13T18:04:04.805Z"
    },
    {
      "version": "9.0.0",
      "format": "esm-only",
      "published": "2024-05-28T21:43:09.245Z"
    },
    {
      "version": "8.1.0",
      "format": "esm-only",
      "published": "2023-02-23T16:52:48.681Z"
    },
    {
      "version": "8.0.0",
      "format": "esm-only",
      "published": "2021-10-27T10:54:40.261Z"
    },
    {
      "version": "7.0.0",
      "format": "cjs",
      "published": "2021-02-12T10:20:36.454Z"
    },
    {
      "version": "6.0.0",
      "format": "cjs",
      "published": "2020-05-15T03:08:28.784Z"
    },
    {
      "version": "5.0.0",
      "format": "cjs",
      "published": "2019-11-01T13:53:39.809Z"
    },
    {
      "version": "4.2.1",
      "format": "cjs",
      "published": "2019-08-12T21:44:03.388Z"
    },
    {
      "version": "4.2.0",
      "format": "cjs",
      "published": "2019-03-31T11:47:34.531Z"
    },
    {
      "version": "4.1.0",
      "format": "cjs",
      "published": "2019-03-11T06:55:19.918Z"
    },
    {
      "version": "4.0.0",
      "format": "cjs",
      "published": "2019-01-20T10:51:35.377Z"
    },
    {
      "version": "3.3.0",
      "format": "cjs",
      "published": "2017-06-02T19:43:48.054Z"
    },
    {
      "version": "3.2.0",
      "format": "cjs",
      "published": "2017-05-07T10:10:14.249Z"
    },
    {
      "version": "3.1.0",
      "format": "cjs",
      "published": "2017-05-06T10:13:52.908Z"
    }
  ]
}