{
  "name": "commander",
  "url": "https://canirequire.com/package/commander/",
  "description": "the complete solution for node.js command-line programs",
  "latest": "15.0.0",
  "latestPublished": "2026-05-29T09:16:23.076Z",
  "format": "esm-only",
  "summary": "commander@15.0.0 is ESM-only. commander dropped its CommonJS build in 15.0.0 (May 2026). The last version you can require() on every Node.js version, including 18 and older, is 14.0.3, published Jan 31, 2026. On Node.js 20.19+, 22.12+ and every newer release, require(\"commander\") 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. commander@15.0.0 declares engines \">=22.12.0\", so Node.js 18, 20 are outside its supported range regardless of module format.",
  "esmOnlySince": "15.0.0",
  "esmOnlySinceDate": "2026-05-29T09:16:23.076Z",
  "lastCommonJsVersion": "14.0.3",
  "lastCommonJsDate": "2026-01-31T01:47:17.592Z",
  "nativeEsmSince": "9.0.0",
  "types": "bundled",
  "nodeEngines": ">=22.12.0",
  "deprecated": null,
  "license": "MIT",
  "repository": "https://github.com/tj/commander.js",
  "weeklyDownloads": 451090873,
  "runtime": {
    "verifiedAt": "2026-09-09T15:27:29.492Z",
    "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": "15.0.0",
      "format": "esm-only",
      "published": "2026-05-29T09:16:23.076Z"
    },
    {
      "version": "14.0.3",
      "format": "dual",
      "published": "2026-01-31T01:47:17.592Z"
    },
    {
      "version": "14.0.2",
      "format": "dual",
      "published": "2025-10-25T12:07:44.078Z"
    },
    {
      "version": "14.0.1",
      "format": "dual",
      "published": "2025-09-12T07:27:06.725Z"
    },
    {
      "version": "14.0.0",
      "format": "dual",
      "published": "2025-05-18T06:10:29.194Z"
    },
    {
      "version": "13.1.0",
      "format": "dual",
      "published": "2025-01-20T23:29:10.201Z"
    },
    {
      "version": "13.0.0",
      "format": "dual",
      "published": "2024-12-30T05:26:40.123Z"
    },
    {
      "version": "12.1.0",
      "format": "dual",
      "published": "2024-05-18T11:16:54.043Z"
    },
    {
      "version": "12.0.0",
      "format": "dual",
      "published": "2024-02-03T09:44:33.948Z"
    },
    {
      "version": "11.1.0",
      "format": "dual",
      "published": "2023-10-13T00:29:34.905Z"
    },
    {
      "version": "11.0.0",
      "format": "dual",
      "published": "2023-06-16T00:51:20.545Z"
    },
    {
      "version": "10.0.1",
      "format": "dual",
      "published": "2023-04-15T05:01:56.178Z"
    },
    {
      "version": "10.0.0",
      "format": "dual",
      "published": "2023-01-14T01:53:41.421Z"
    },
    {
      "version": "9.5.0",
      "format": "dual",
      "published": "2023-01-07T07:04:45.771Z"
    },
    {
      "version": "9.4.1",
      "format": "dual",
      "published": "2022-09-30T07:28:04.231Z"
    },
    {
      "version": "9.4.0",
      "format": "dual",
      "published": "2022-07-15T06:19:53.286Z"
    },
    {
      "version": "9.3.0",
      "format": "dual",
      "published": "2022-05-28T02:47:06.659Z"
    },
    {
      "version": "9.2.0",
      "format": "dual",
      "published": "2022-04-15T08:17:56.139Z"
    },
    {
      "version": "9.1.0",
      "format": "dual",
      "published": "2022-03-18T05:56:21.581Z"
    },
    {
      "version": "9.0.0",
      "format": "dual",
      "published": "2022-01-29T00:30:40.995Z"
    },
    {
      "version": "8.3.0",
      "format": "cjs",
      "published": "2021-10-22T07:02:06.771Z"
    },
    {
      "version": "8.2.0",
      "format": "cjs",
      "published": "2021-09-10T07:00:32.866Z"
    },
    {
      "version": "8.1.0",
      "format": "cjs",
      "published": "2021-07-27T03:56:22.861Z"
    },
    {
      "version": "8.0.0",
      "format": "cjs",
      "published": "2021-06-25T08:24:16.053Z"
    },
    {
      "version": "7.2.0",
      "format": "cjs",
      "published": "2021-03-21T21:56:16.053Z"
    },
    {
      "version": "7.1.0",
      "format": "cjs",
      "published": "2021-02-15T07:24:42.526Z"
    },
    {
      "version": "7.0.0",
      "format": "cjs",
      "published": "2021-01-15T09:47:17.281Z"
    },
    {
      "version": "6.2.1",
      "format": "cjs",
      "published": "2020-12-14T00:47:18.186Z"
    },
    {
      "version": "6.2.0",
      "format": "cjs",
      "published": "2020-10-25T02:37:56.917Z"
    },
    {
      "version": "6.1.0",
      "format": "cjs",
      "published": "2020-08-28T01:22:54.292Z"
    },
    {
      "version": "6.0.0",
      "format": "cjs",
      "published": "2020-07-19T14:01:31.919Z"
    },
    {
      "version": "5.1.0",
      "format": "cjs",
      "published": "2020-04-25T02:29:21.964Z"
    },
    {
      "version": "5.0.0",
      "format": "cjs",
      "published": "2020-03-14T01:10:37.734Z"
    },
    {
      "version": "4.1.1",
      "format": "cjs",
      "published": "2020-02-03T06:15:56.861Z"
    },
    {
      "version": "4.1.0",
      "format": "cjs",
      "published": "2020-01-06T09:16:52.298Z"
    },
    {
      "version": "4.0.1",
      "format": "cjs",
      "published": "2019-11-11T09:18:33.992Z"
    },
    {
      "version": "4.0.0",
      "format": "cjs",
      "published": "2019-11-01T10:09:07.258Z"
    },
    {
      "version": "3.0.2",
      "format": "cjs",
      "published": "2019-09-26T09:10:22.874Z"
    },
    {
      "version": "3.0.1",
      "format": "cjs",
      "published": "2019-08-30T08:55:39.389Z"
    },
    {
      "version": "3.0.0",
      "format": "cjs",
      "published": "2019-08-09T00:46:51.482Z"
    },
    {
      "version": "2.20.3",
      "format": "cjs",
      "published": "2019-10-11T05:40:24.166Z"
    },
    {
      "version": "2.20.1",
      "format": "cjs",
      "published": "2019-09-28T22:01:44.284Z"
    },
    {
      "version": "2.20.0",
      "format": "cjs",
      "published": "2019-04-03T00:41:29.557Z"
    },
    {
      "version": "2.19.0",
      "format": "cjs",
      "published": "2018-10-08T21:51:13.862Z"
    },
    {
      "version": "2.18.0",
      "format": "cjs",
      "published": "2018-09-07T10:27:19.913Z"
    },
    {
      "version": "2.17.1",
      "format": "cjs",
      "published": "2018-08-07T11:19:30.675Z"
    },
    {
      "version": "2.17.0",
      "format": "cjs",
      "published": "2018-08-04T00:09:33.375Z"
    },
    {
      "version": "2.16.0",
      "format": "cjs",
      "published": "2018-06-29T09:40:35.648Z"
    },
    {
      "version": "2.15.1",
      "format": "cjs",
      "published": "2018-03-20T01:47:22.840Z"
    },
    {
      "version": "2.15.0",
      "format": "cjs",
      "published": "2018-03-08T01:11:52.912Z"
    },
    {
      "version": "2.14.1",
      "format": "cjs",
      "published": "2018-02-07T07:42:58.790Z"
    },
    {
      "version": "2.14.0",
      "format": "cjs",
      "published": "2018-02-06T01:23:46.219Z"
    },
    {
      "version": "2.13.0",
      "format": "cjs",
      "published": "2018-01-11T07:09:55.387Z"
    },
    {
      "version": "2.12.2",
      "format": "cjs",
      "published": "2017-11-28T07:08:54.938Z"
    },
    {
      "version": "2.12.1",
      "format": "cjs",
      "published": "2017-11-23T10:18:50.901Z"
    },
    {
      "version": "2.12.0",
      "format": "cjs",
      "published": "2017-11-22T23:04:54.032Z"
    },
    {
      "version": "2.11.0",
      "format": "cjs",
      "published": "2017-07-03T10:07:25.387Z"
    },
    {
      "version": "2.10.0",
      "format": "cjs",
      "published": "2017-06-23T09:32:55.567Z"
    },
    {
      "version": "2.9.0",
      "format": "cjs",
      "published": "2015-10-13T15:26:25.933Z"
    },
    {
      "version": "2.8.1",
      "format": "cjs",
      "published": "2015-04-24T20:27:36.920Z"
    }
  ]
}