{
  "name": "yargs-parser",
  "url": "https://canirequire.com/package/yargs-parser/",
  "description": "the mighty option parser used by yargs",
  "latest": "22.0.0",
  "latestPublished": "2025-05-26T20:12:00.864Z",
  "format": "esm-only",
  "summary": "yargs-parser@22.0.0 is ESM-only. yargs-parser dropped its CommonJS build in 22.0.0 (May 2025). The last version you can require() on every Node.js version, including 18 and older, is 21.1.1, published Aug 4, 2022. On Node.js 20.19+, 22.12+ and every newer release, require(\"yargs-parser\") 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. yargs-parser@22.0.0 declares engines \"^20.19.0 || ^22.12.0 || >=23\", so Node.js 18 is outside its supported range regardless of module format.",
  "esmOnlySince": "22.0.0",
  "esmOnlySinceDate": "2025-05-26T20:12:00.864Z",
  "lastCommonJsVersion": "21.1.1",
  "lastCommonJsDate": "2022-08-04T21:13:43.411Z",
  "nativeEsmSince": "19.0.0",
  "types": "definitely-typed",
  "nodeEngines": "^20.19.0 || ^22.12.0 || >=23",
  "deprecated": null,
  "license": "ISC",
  "repository": "https://github.com/yargs/yargs-parser",
  "weeklyDownloads": 178824999,
  "runtime": {
    "verifiedAt": "2026-09-09T15:27:34.551Z",
    "node": {
      "18": {
        "require": false,
        "import": false,
        "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": "22.0.0",
      "format": "esm-only",
      "published": "2025-05-26T20:12:00.864Z"
    },
    {
      "version": "21.1.1",
      "format": "dual",
      "published": "2022-08-04T21:13:43.411Z"
    },
    {
      "version": "21.1.0",
      "format": "dual",
      "published": "2022-08-03T19:24:40.722Z"
    },
    {
      "version": "21.0.1",
      "format": "dual",
      "published": "2022-02-27T15:10:34.404Z"
    },
    {
      "version": "21.0.0",
      "format": "dual",
      "published": "2021-11-16T02:49:04.176Z"
    },
    {
      "version": "20.2.9",
      "format": "dual",
      "published": "2021-06-20T23:54:31.941Z"
    },
    {
      "version": "20.2.7",
      "format": "dual",
      "published": "2021-03-10T19:33:49.831Z"
    },
    {
      "version": "20.2.6",
      "format": "dual",
      "published": "2021-02-22T02:46:50.058Z"
    },
    {
      "version": "20.2.5",
      "format": "dual",
      "published": "2021-02-13T20:13:14.829Z"
    },
    {
      "version": "20.2.4",
      "format": "dual",
      "published": "2020-11-09T01:50:36.736Z"
    },
    {
      "version": "20.2.3",
      "format": "dual",
      "published": "2020-10-16T15:45:15.708Z"
    },
    {
      "version": "20.2.2",
      "format": "dual",
      "published": "2020-10-14T19:00:24.131Z"
    },
    {
      "version": "20.2.1",
      "format": "dual",
      "published": "2020-10-01T18:23:31.154Z"
    },
    {
      "version": "20.2.0",
      "format": "dual",
      "published": "2020-09-21T02:54:08.617Z"
    },
    {
      "version": "20.1.0",
      "format": "dual",
      "published": "2020-09-20T04:34:07.610Z"
    },
    {
      "version": "20.0.0",
      "format": "dual",
      "published": "2020-09-09T17:53:36.447Z"
    },
    {
      "version": "19.0.4",
      "format": "dual",
      "published": "2020-08-27T05:38:54.838Z"
    },
    {
      "version": "19.0.1",
      "format": "dual",
      "published": "2020-08-09T04:27:39.335Z"
    },
    {
      "version": "19.0.0",
      "format": "dual",
      "published": "2020-08-09T04:16:13.833Z"
    },
    {
      "version": "18.1.3",
      "format": "cjs",
      "published": "2020-04-16T20:13:18.388Z"
    },
    {
      "version": "18.1.2",
      "format": "cjs",
      "published": "2020-03-26T17:14:28.160Z"
    },
    {
      "version": "18.1.1",
      "format": "cjs",
      "published": "2020-03-16T07:19:48.621Z"
    },
    {
      "version": "18.1.0",
      "format": "cjs",
      "published": "2020-03-07T19:43:04.413Z"
    },
    {
      "version": "18.0.0",
      "format": "cjs",
      "published": "2020-03-02T06:01:50.935Z"
    },
    {
      "version": "17.1.0",
      "format": "cjs",
      "published": "2020-03-01T01:35:41.934Z"
    },
    {
      "version": "17.0.1",
      "format": "cjs",
      "published": "2020-02-29T21:03:27.629Z"
    },
    {
      "version": "17.0.0",
      "format": "cjs",
      "published": "2020-02-10T03:52:11.910Z"
    },
    {
      "version": "16.1.0",
      "format": "cjs",
      "published": "2019-11-01T22:41:05.473Z"
    },
    {
      "version": "16.0.0",
      "format": "cjs",
      "published": "2019-10-27T02:54:25.234Z"
    },
    {
      "version": "15.0.3",
      "format": "cjs",
      "published": "2021-06-20T22:52:56.892Z"
    },
    {
      "version": "15.0.2",
      "format": "cjs",
      "published": "2021-06-20T22:52:32.960Z"
    },
    {
      "version": "15.0.1",
      "format": "cjs",
      "published": "2020-03-13T20:56:48.713Z"
    },
    {
      "version": "15.0.0",
      "format": "cjs",
      "published": "2019-10-07T00:09:18.911Z"
    },
    {
      "version": "14.0.0",
      "format": "cjs",
      "published": "2019-09-06T19:36:28.730Z"
    },
    {
      "version": "13.1.2",
      "format": "cjs",
      "published": "2020-03-13T21:21:02.921Z"
    },
    {
      "version": "13.1.1",
      "format": "cjs",
      "published": "2019-06-10T01:17:59.099Z"
    },
    {
      "version": "13.1.0",
      "format": "cjs",
      "published": "2019-05-05T21:33:05.139Z"
    },
    {
      "version": "13.0.0",
      "format": "cjs",
      "published": "2019-02-02T21:30:58.258Z"
    },
    {
      "version": "12.0.0",
      "format": "cjs",
      "published": "2019-01-29T00:49:36.441Z"
    },
    {
      "version": "11.1.1",
      "format": "cjs",
      "published": "2018-11-19T23:34:24.250Z"
    },
    {
      "version": "11.1.0",
      "format": "cjs",
      "published": "2018-11-10T00:30:04.238Z"
    },
    {
      "version": "11.0.0",
      "format": "cjs",
      "published": "2018-10-06T22:52:28.232Z"
    },
    {
      "version": "10.1.0",
      "format": "cjs",
      "published": "2018-06-29T05:14:50.431Z"
    },
    {
      "version": "10.0.0",
      "format": "cjs",
      "published": "2018-04-04T02:10:11.110Z"
    },
    {
      "version": "9.0.2",
      "format": "cjs",
      "published": "2018-01-20T23:23:44.868Z"
    },
    {
      "version": "9.0.1",
      "format": "cjs",
      "published": "2018-01-20T23:03:40.481Z"
    },
    {
      "version": "9.0.0",
      "format": "cjs",
      "published": "2018-01-20T22:47:43.499Z"
    },
    {
      "version": "8.1.0",
      "format": "cjs",
      "published": "2017-12-20T06:20:14.482Z"
    },
    {
      "version": "8.0.0",
      "format": "cjs",
      "published": "2017-10-05T06:22:05.819Z"
    },
    {
      "version": "7.0.0",
      "format": "cjs",
      "published": "2017-05-02T05:59:44.561Z"
    },
    {
      "version": "6.0.1",
      "format": "cjs",
      "published": "2017-05-01T05:57:19.165Z"
    },
    {
      "version": "6.0.0",
      "format": "cjs",
      "published": "2017-05-01T00:52:33.251Z"
    },
    {
      "version": "5.0.1",
      "format": "cjs",
      "published": "2021-03-10T19:21:02.408Z"
    },
    {
      "version": "5.0.0",
      "format": "cjs",
      "published": "2017-02-18T19:58:51.724Z"
    },
    {
      "version": "4.2.1",
      "format": "cjs",
      "published": "2017-01-02T19:42:38.707Z"
    },
    {
      "version": "4.2.0",
      "format": "cjs",
      "published": "2016-12-01T18:49:23.364Z"
    },
    {
      "version": "4.1.0",
      "format": "cjs",
      "published": "2016-11-07T06:31:50.418Z"
    },
    {
      "version": "4.0.2",
      "format": "cjs",
      "published": "2016-09-30T06:52:18.892Z"
    },
    {
      "version": "4.0.1",
      "format": "cjs",
      "published": "2016-09-30T06:36:16.800Z"
    },
    {
      "version": "4.0.0",
      "format": "cjs",
      "published": "2016-09-26T05:38:41.527Z"
    }
  ]
}