{
  "name": "compression",
  "url": "https://canirequire.com/package/compression/",
  "description": "Node.js compression middleware",
  "latest": "1.8.1",
  "latestPublished": "2025-07-17T17:36:13.234Z",
  "format": "cjs",
  "summary": "compression@1.8.1 is a CommonJS package. compression ships CommonJS only. require(\"compression\") works everywhere. import \"compression\" 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": "1.8.1",
  "lastCommonJsDate": "2025-07-17T17:36:13.234Z",
  "nativeEsmSince": null,
  "types": "definitely-typed",
  "nodeEngines": ">= 0.8.0",
  "deprecated": null,
  "license": "MIT",
  "repository": "https://github.com/expressjs/compression",
  "weeklyDownloads": 37029139,
  "runtime": {
    "verifiedAt": "2026-09-09T15:28:32.872Z",
    "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": "1.8.1",
      "format": "cjs",
      "published": "2025-07-17T17:36:13.234Z"
    },
    {
      "version": "1.8.0",
      "format": "cjs",
      "published": "2025-02-10T20:48:32.292Z"
    },
    {
      "version": "1.7.5",
      "format": "cjs",
      "published": "2024-10-31T15:26:14.257Z"
    },
    {
      "version": "1.7.4",
      "format": "cjs",
      "published": "2019-03-18T14:43:24.201Z"
    },
    {
      "version": "1.7.3",
      "format": "cjs",
      "published": "2018-07-15T21:37:27.495Z"
    },
    {
      "version": "1.7.2",
      "format": "cjs",
      "published": "2018-02-19T04:50:54.459Z"
    },
    {
      "version": "1.7.1",
      "format": "cjs",
      "published": "2017-09-27T05:10:20.820Z"
    },
    {
      "version": "1.7.0",
      "format": "cjs",
      "published": "2017-07-11T06:14:15.834Z"
    },
    {
      "version": "1.6.2",
      "format": "cjs",
      "published": "2016-05-12T23:33:00.326Z"
    },
    {
      "version": "1.6.1",
      "format": "cjs",
      "published": "2016-01-20T04:55:08.544Z"
    },
    {
      "version": "1.6.0",
      "format": "cjs",
      "published": "2015-09-30T05:09:57.880Z"
    },
    {
      "version": "1.5.2",
      "format": "cjs",
      "published": "2015-07-31T03:29:49.884Z"
    },
    {
      "version": "1.5.1",
      "format": "cjs",
      "published": "2015-07-06T02:43:34.298Z"
    },
    {
      "version": "1.5.0",
      "format": "cjs",
      "published": "2015-06-10T03:35:56.802Z"
    },
    {
      "version": "1.4.4",
      "format": "cjs",
      "published": "2015-05-12T05:20:15.984Z"
    },
    {
      "version": "1.4.3",
      "format": "cjs",
      "published": "2015-03-15T03:35:49.718Z"
    },
    {
      "version": "1.4.2",
      "format": "cjs",
      "published": "2015-03-12T04:08:38.559Z"
    },
    {
      "version": "1.4.1",
      "format": "cjs",
      "published": "2015-02-15T20:22:36.902Z"
    },
    {
      "version": "1.4.0",
      "format": "cjs",
      "published": "2015-02-01T22:25:07.534Z"
    },
    {
      "version": "1.3.1",
      "format": "cjs",
      "published": "2015-02-01T07:25:53.741Z"
    },
    {
      "version": "1.3.0",
      "format": "cjs",
      "published": "2014-12-31T05:08:31.761Z"
    },
    {
      "version": "1.2.2",
      "format": "cjs",
      "published": "2014-12-10T21:00:50.807Z"
    },
    {
      "version": "1.2.1",
      "format": "cjs",
      "published": "2014-11-23T19:18:10.022Z"
    },
    {
      "version": "1.2.0",
      "format": "cjs",
      "published": "2014-10-17T01:58:41.203Z"
    },
    {
      "version": "1.1.2",
      "format": "cjs",
      "published": "2014-10-16T03:06:43.813Z"
    },
    {
      "version": "1.1.1",
      "format": "cjs",
      "published": "2014-10-13T04:54:09.301Z"
    },
    {
      "version": "1.1.0",
      "format": "cjs",
      "published": "2014-09-08T03:21:47.844Z"
    },
    {
      "version": "1.0.11",
      "format": "cjs",
      "published": "2014-08-11T01:17:29.659Z"
    },
    {
      "version": "1.0.10",
      "format": "cjs",
      "published": "2014-08-06T03:59:27.545Z"
    },
    {
      "version": "1.0.9",
      "format": "cjs",
      "published": "2014-07-21T03:41:37.065Z"
    },
    {
      "version": "1.0.8",
      "format": "cjs",
      "published": "2014-06-20T18:12:29.411Z"
    },
    {
      "version": "1.0.7",
      "format": "cjs",
      "published": "2014-06-12T02:38:37.237Z"
    },
    {
      "version": "1.0.6",
      "format": "cjs",
      "published": "2014-06-04T01:24:28.264Z"
    },
    {
      "version": "1.0.5",
      "format": "cjs",
      "published": "2014-06-04T01:09:30.227Z"
    },
    {
      "version": "1.0.4",
      "format": "cjs",
      "published": "2014-06-03T20:11:20.873Z"
    },
    {
      "version": "1.0.3",
      "format": "cjs",
      "published": "2014-05-30T00:17:20.830Z"
    },
    {
      "version": "1.0.2",
      "format": "cjs",
      "published": "2014-04-29T05:04:53.976Z"
    },
    {
      "version": "1.0.1",
      "format": "cjs",
      "published": "2014-03-08T21:06:27.250Z"
    },
    {
      "version": "1.0.0",
      "format": "cjs",
      "published": "2014-01-01T23:38:49.435Z"
    }
  ]
}