{
  "name": "react-router",
  "url": "https://canirequire.com/package/react-router/",
  "description": "Declarative routing for React",
  "latest": "8.3.1",
  "latestPublished": "2026-08-28T14:47:42.622Z",
  "format": "esm-only",
  "summary": "react-router@8.3.1 is ESM-only. react-router dropped its CommonJS build in 7.7.0 (July 2025). The last version you can require() on every Node.js version, including 18 and older, is 7.6.3, published Jun 27, 2025. On Node.js 20.19+, 22.12+ and every newer release, require(\"react-router\") 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. react-router@8.3.1 declares engines \">=22.22.0\", so Node.js 18, 20 are outside its supported range regardless of module format.",
  "esmOnlySince": "7.7.0",
  "esmOnlySinceDate": "2025-07-16T18:43:07.851Z",
  "lastCommonJsVersion": "7.6.3",
  "lastCommonJsDate": "2025-06-27T17:20:29.676Z",
  "nativeEsmSince": "7.0.0",
  "types": "bundled",
  "nodeEngines": ">=22.22.0",
  "deprecated": null,
  "license": "MIT",
  "repository": "https://github.com/remix-run/react-router",
  "weeklyDownloads": 46591685,
  "runtime": {
    "verifiedAt": "2026-09-09T15:28:18.919Z",
    "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": "8.3.1",
      "format": "esm-only",
      "published": "2026-08-28T14:47:42.622Z"
    },
    {
      "version": "8.3.0",
      "format": "esm-only",
      "published": "2026-07-22T15:04:41.794Z"
    },
    {
      "version": "8.2.0",
      "format": "esm-only",
      "published": "2026-07-08T17:22:05.180Z"
    },
    {
      "version": "8.1.0",
      "format": "esm-only",
      "published": "2026-06-29T20:49:09.222Z"
    },
    {
      "version": "8.0.1",
      "format": "esm-only",
      "published": "2026-06-18T19:20:17.715Z"
    },
    {
      "version": "8.0.0",
      "format": "esm-only",
      "published": "2026-06-17T19:19:11.383Z"
    },
    {
      "version": "7.18.3",
      "format": "esm-only",
      "published": "2026-08-28T14:30:10.445Z"
    },
    {
      "version": "7.18.2",
      "format": "esm-only",
      "published": "2026-07-28T21:53:08.425Z"
    },
    {
      "version": "7.18.1",
      "format": "esm-only",
      "published": "2026-06-29T18:43:35.503Z"
    },
    {
      "version": "7.18.0",
      "format": "esm-only",
      "published": "2026-06-16T14:12:39.564Z"
    },
    {
      "version": "7.17.0",
      "format": "esm-only",
      "published": "2026-06-04T14:20:46.047Z"
    },
    {
      "version": "7.16.0",
      "format": "esm-only",
      "published": "2026-05-28T18:46:22.623Z"
    },
    {
      "version": "7.15.1",
      "format": "esm-only",
      "published": "2026-05-14T14:40:53.242Z"
    },
    {
      "version": "7.15.0",
      "format": "esm-only",
      "published": "2026-05-05T14:32:57.431Z"
    },
    {
      "version": "7.14.2",
      "format": "esm-only",
      "published": "2026-04-21T14:15:49.275Z"
    },
    {
      "version": "7.14.1",
      "format": "esm-only",
      "published": "2026-04-13T21:04:01.266Z"
    },
    {
      "version": "7.14.0",
      "format": "esm-only",
      "published": "2026-04-02T20:32:25.653Z"
    },
    {
      "version": "7.13.2",
      "format": "esm-only",
      "published": "2026-03-23T13:50:39.499Z"
    },
    {
      "version": "7.13.1",
      "format": "esm-only",
      "published": "2026-02-23T16:55:29.431Z"
    },
    {
      "version": "7.13.0",
      "format": "esm-only",
      "published": "2026-01-23T19:11:44.196Z"
    },
    {
      "version": "7.12.0",
      "format": "esm-only",
      "published": "2026-01-07T19:17:19.200Z"
    },
    {
      "version": "7.11.0",
      "format": "esm-only",
      "published": "2025-12-17T16:14:01.416Z"
    },
    {
      "version": "7.10.1",
      "format": "esm-only",
      "published": "2025-12-04T15:09:34.692Z"
    },
    {
      "version": "7.10.0",
      "format": "esm-only",
      "published": "2025-12-02T16:22:11.766Z"
    },
    {
      "version": "7.9.6",
      "format": "esm-only",
      "published": "2025-11-13T17:20:23.403Z"
    },
    {
      "version": "7.9.5",
      "format": "esm-only",
      "published": "2025-10-29T14:32:04.279Z"
    },
    {
      "version": "7.9.4",
      "format": "esm-only",
      "published": "2025-10-08T17:36:44.436Z"
    },
    {
      "version": "7.9.3",
      "format": "esm-only",
      "published": "2025-09-26T19:43:42.271Z"
    },
    {
      "version": "7.9.2",
      "format": "esm-only",
      "published": "2025-09-24T15:26:42.765Z"
    },
    {
      "version": "7.9.1",
      "format": "esm-only",
      "published": "2025-09-12T20:21:01.022Z"
    },
    {
      "version": "7.9.0",
      "format": "esm-only",
      "published": "2025-09-12T13:40:42.726Z"
    },
    {
      "version": "7.8.2",
      "format": "esm-only",
      "published": "2025-08-22T18:13:57.070Z"
    },
    {
      "version": "7.8.1",
      "format": "esm-only",
      "published": "2025-08-15T19:55:59.254Z"
    },
    {
      "version": "7.8.0",
      "format": "esm-only",
      "published": "2025-08-07T18:36:33.645Z"
    },
    {
      "version": "7.7.1",
      "format": "esm-only",
      "published": "2025-07-24T18:13:38.353Z"
    },
    {
      "version": "7.7.0",
      "format": "esm-only",
      "published": "2025-07-16T18:43:07.851Z"
    },
    {
      "version": "7.6.3",
      "format": "dual",
      "published": "2025-06-27T17:20:29.676Z"
    },
    {
      "version": "7.6.2",
      "format": "dual",
      "published": "2025-06-03T20:43:05.330Z"
    },
    {
      "version": "7.6.1",
      "format": "dual",
      "published": "2025-05-25T13:45:22.286Z"
    },
    {
      "version": "7.6.0",
      "format": "dual",
      "published": "2025-05-08T14:59:37.451Z"
    },
    {
      "version": "7.5.3",
      "format": "dual",
      "published": "2025-04-28T20:56:27.519Z"
    },
    {
      "version": "7.5.2",
      "format": "dual",
      "published": "2025-04-24T14:52:31.854Z"
    },
    {
      "version": "7.5.1",
      "format": "dual",
      "published": "2025-04-17T15:27:14.787Z"
    },
    {
      "version": "7.5.0",
      "format": "dual",
      "published": "2025-04-04T18:19:58.688Z"
    },
    {
      "version": "7.4.1",
      "format": "dual",
      "published": "2025-03-28T21:00:11.051Z"
    },
    {
      "version": "7.4.0",
      "format": "dual",
      "published": "2025-03-19T14:37:22.572Z"
    },
    {
      "version": "7.3.0",
      "format": "dual",
      "published": "2025-03-06T20:45:45.890Z"
    },
    {
      "version": "7.2.0",
      "format": "dual",
      "published": "2025-02-18T20:09:19.441Z"
    },
    {
      "version": "7.1.5",
      "format": "dual",
      "published": "2025-01-31T20:59:47.605Z"
    },
    {
      "version": "7.1.4",
      "format": "dual",
      "published": "2025-01-30T16:22:15.883Z"
    },
    {
      "version": "7.1.3",
      "format": "dual",
      "published": "2025-01-17T21:55:40.196Z"
    },
    {
      "version": "7.1.2",
      "format": "dual",
      "published": "2025-01-16T15:21:54.592Z"
    },
    {
      "version": "7.1.1",
      "format": "dual",
      "published": "2024-12-23T17:31:05.919Z"
    },
    {
      "version": "7.1.0",
      "format": "dual",
      "published": "2024-12-20T21:58:35.536Z"
    },
    {
      "version": "7.0.2",
      "format": "dual",
      "published": "2024-12-03T02:16:25.075Z"
    },
    {
      "version": "7.0.1",
      "format": "dual",
      "published": "2024-11-22T14:44:09.205Z"
    },
    {
      "version": "7.0.0",
      "format": "dual",
      "published": "2024-11-22T07:42:41.117Z"
    },
    {
      "version": "6.30.6",
      "format": "cjs",
      "published": "2026-08-18T14:55:47.623Z"
    },
    {
      "version": "6.30.5",
      "format": "cjs",
      "published": "2026-08-18T14:51:16.050Z"
    },
    {
      "version": "6.30.4",
      "format": "cjs",
      "published": "2026-05-29T19:41:45.772Z"
    }
  ]
}