{
  "name": "raw-body",
  "url": "https://canirequire.com/package/raw-body/",
  "description": "Get and validate the raw body of a readable stream.",
  "latest": "4.0.0",
  "latestPublished": "2026-07-12T02:58:18.618Z",
  "format": "esm-only",
  "summary": "raw-body@4.0.0 is ESM-only. raw-body dropped its CommonJS build in 4.0.0 (July 2026). The last version you can require() on every Node.js version, including 18 and older, is 3.0.2, published Nov 21, 2025. On Node.js 20.19+, 22.12+ and every newer release, require(\"raw-body\") works anyway: Node can load synchronous ES modules through require(). Verified on Node 22, 24, 26. Node.js 18 and older still fail with ERR_REQUIRE_ESM. raw-body@4.0.0 declares engines \">=22\", so Node.js 18, 20 are outside its supported range regardless of module format.",
  "esmOnlySince": "4.0.0",
  "esmOnlySinceDate": "2026-07-12T02:58:18.618Z",
  "lastCommonJsVersion": "3.0.2",
  "lastCommonJsDate": "2025-11-21T20:47:27.523Z",
  "nativeEsmSince": "4.0.0",
  "types": "bundled",
  "nodeEngines": ">=22",
  "deprecated": null,
  "license": "MIT",
  "repository": "https://github.com/stream-utils/raw-body",
  "weeklyDownloads": 128537919,
  "runtime": {
    "verifiedAt": "2026-09-09T15:27:40.221Z",
    "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": "4.0.0",
      "format": "esm-only",
      "published": "2026-07-12T02:58:18.618Z"
    },
    {
      "version": "3.0.2",
      "format": "cjs",
      "published": "2025-11-21T20:47:27.523Z"
    },
    {
      "version": "3.0.1",
      "format": "cjs",
      "published": "2025-09-04T01:45:09.717Z"
    },
    {
      "version": "3.0.0",
      "format": "cjs",
      "published": "2024-07-25T22:18:40.020Z"
    },
    {
      "version": "2.5.3",
      "format": "cjs",
      "published": "2025-11-25T15:23:48.830Z"
    },
    {
      "version": "2.5.2",
      "format": "cjs",
      "published": "2023-02-21T17:06:09.058Z"
    },
    {
      "version": "2.5.1",
      "format": "cjs",
      "published": "2022-02-28T21:46:45.189Z"
    },
    {
      "version": "2.5.0",
      "format": "cjs",
      "published": "2022-02-21T17:26:07.328Z"
    },
    {
      "version": "2.4.3",
      "format": "cjs",
      "published": "2022-02-15T03:17:29.970Z"
    },
    {
      "version": "2.4.2",
      "format": "cjs",
      "published": "2021-11-17T02:39:18.370Z"
    },
    {
      "version": "2.4.1",
      "format": "cjs",
      "published": "2019-06-26T03:50:01.465Z"
    },
    {
      "version": "2.4.0",
      "format": "cjs",
      "published": "2019-04-18T02:43:02.394Z"
    },
    {
      "version": "2.3.3",
      "format": "cjs",
      "published": "2018-05-08T15:39:36.374Z"
    },
    {
      "version": "2.3.2",
      "format": "cjs",
      "published": "2017-09-10T04:59:25.753Z"
    },
    {
      "version": "2.3.1",
      "format": "cjs",
      "published": "2017-09-08T03:22:02.056Z"
    },
    {
      "version": "2.3.0",
      "format": "cjs",
      "published": "2017-08-05T03:08:58.515Z"
    },
    {
      "version": "2.2.0",
      "format": "cjs",
      "published": "2017-01-03T02:11:44.637Z"
    },
    {
      "version": "2.1.7",
      "format": "cjs",
      "published": "2016-06-19T19:14:25.247Z"
    },
    {
      "version": "2.1.6",
      "format": "cjs",
      "published": "2016-03-08T03:06:50.286Z"
    },
    {
      "version": "2.1.5",
      "format": "cjs",
      "published": "2015-12-01T03:56:48.358Z"
    },
    {
      "version": "2.1.4",
      "format": "cjs",
      "published": "2015-09-28T03:44:59.198Z"
    },
    {
      "version": "2.1.3",
      "format": "cjs",
      "published": "2015-09-12T20:56:21.003Z"
    },
    {
      "version": "2.1.2",
      "format": "cjs",
      "published": "2015-07-06T03:06:38.297Z"
    },
    {
      "version": "2.1.1",
      "format": "cjs",
      "published": "2015-06-14T22:00:08.427Z"
    },
    {
      "version": "2.1.0",
      "format": "cjs",
      "published": "2015-05-28T17:40:51.813Z"
    },
    {
      "version": "2.0.2",
      "format": "cjs",
      "published": "2015-05-22T03:07:32.179Z"
    },
    {
      "version": "2.0.1",
      "format": "cjs",
      "published": "2015-05-11T04:24:17.907Z"
    },
    {
      "version": "2.0.0",
      "format": "cjs",
      "published": "2015-05-08T13:44:08.773Z"
    },
    {
      "version": "1.3.4",
      "format": "cjs",
      "published": "2015-04-16T02:35:48.941Z"
    },
    {
      "version": "1.3.3",
      "format": "cjs",
      "published": "2015-02-09T06:43:13.366Z"
    },
    {
      "version": "1.3.2",
      "format": "cjs",
      "published": "2015-01-21T06:21:33.709Z"
    },
    {
      "version": "1.3.1",
      "format": "cjs",
      "published": "2014-11-22T03:53:08.492Z"
    },
    {
      "version": "1.3.0",
      "format": "cjs",
      "published": "2014-07-21T01:22:05.842Z"
    },
    {
      "version": "1.2.3",
      "format": "cjs",
      "published": "2014-07-20T17:30:32.310Z"
    },
    {
      "version": "1.2.2",
      "format": "cjs",
      "published": "2014-06-19T19:32:23.842Z"
    },
    {
      "version": "1.2.1",
      "format": "cjs",
      "published": "2014-06-15T16:40:07.888Z"
    },
    {
      "version": "1.2.0",
      "format": "cjs",
      "published": "2014-06-13T20:52:34.118Z"
    },
    {
      "version": "1.1.7",
      "format": "cjs",
      "published": "2014-06-13T02:52:47.692Z"
    },
    {
      "version": "1.1.6",
      "format": "cjs",
      "published": "2014-05-27T13:42:01.085Z"
    },
    {
      "version": "1.1.5",
      "format": "cjs",
      "published": "2014-05-14T01:50:49.137Z"
    },
    {
      "version": "1.1.4",
      "format": "cjs",
      "published": "2014-04-19T08:17:23.207Z"
    },
    {
      "version": "1.1.3",
      "format": "cjs",
      "published": "2014-03-02T20:52:28.866Z"
    },
    {
      "version": "1.1.2",
      "format": "cjs",
      "published": "2013-12-01T20:17:00.635Z"
    },
    {
      "version": "1.1.1",
      "format": "cjs",
      "published": "2013-11-27T20:39:25.331Z"
    },
    {
      "version": "1.1.0",
      "format": "cjs",
      "published": "2013-11-27T03:53:18.270Z"
    },
    {
      "version": "1.0.1",
      "format": "cjs",
      "published": "2013-11-19T00:07:17.557Z"
    },
    {
      "version": "1.0.0",
      "format": "cjs",
      "published": "2013-11-17T19:08:41.627Z"
    },
    {
      "version": "0.2.0",
      "format": "cjs",
      "published": "2013-11-15T04:53:57.332Z"
    },
    {
      "version": "0.1.1",
      "format": "cjs",
      "published": "2013-11-15T04:33:32.055Z"
    },
    {
      "version": "0.1.0",
      "format": "cjs",
      "published": "2013-11-11T05:48:13.166Z"
    },
    {
      "version": "0.0.3",
      "format": "cjs",
      "published": "2013-10-10T18:54:24.885Z"
    },
    {
      "version": "0.0.2",
      "format": "cjs",
      "published": "2013-09-14T07:31:56.628Z"
    },
    {
      "version": "0.0.1",
      "format": "cjs",
      "published": "2013-09-14T03:21:49.810Z"
    }
  ]
}