{
  "name": "path-key",
  "url": "https://canirequire.com/package/path-key/",
  "description": "Get the PATH environment variable key cross-platform",
  "latest": "4.0.0",
  "latestPublished": "2021-04-09T12:04:51.822Z",
  "format": "esm-only",
  "summary": "path-key@4.0.0 is ESM-only. path-key dropped its CommonJS build in 4.0.0 (April 2021). The last version you can require() on every Node.js version, including 18 and older, is 3.1.1, published Nov 22, 2019. On Node.js 20.19+, 22.12+ and every newer release, require(\"path-key\") 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.",
  "esmOnlySince": "4.0.0",
  "esmOnlySinceDate": "2021-04-09T12:04:51.822Z",
  "lastCommonJsVersion": "3.1.1",
  "lastCommonJsDate": "2019-11-22T16:47:18.153Z",
  "nativeEsmSince": "4.0.0",
  "types": "definitely-typed",
  "nodeEngines": ">=12",
  "deprecated": null,
  "license": "MIT",
  "repository": "https://github.com/sindresorhus/path-key",
  "weeklyDownloads": 244859615,
  "runtime": {
    "verifiedAt": "2026-09-09T15:27:31.626Z",
    "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": "2021-04-09T12:04:51.822Z"
    },
    {
      "version": "3.1.1",
      "format": "cjs",
      "published": "2019-11-22T16:47:18.153Z"
    },
    {
      "version": "3.1.0",
      "format": "cjs",
      "published": "2019-04-05T06:52:44.335Z"
    },
    {
      "version": "3.0.0",
      "format": "cjs",
      "published": "2019-03-10T14:13:28.802Z"
    },
    {
      "version": "2.0.1",
      "format": "cjs",
      "published": "2016-09-26T10:55:53.120Z"
    },
    {
      "version": "2.0.0",
      "format": "cjs",
      "published": "2016-09-25T06:27:06.037Z"
    },
    {
      "version": "1.0.0",
      "format": "cjs",
      "published": "2015-12-28T18:36:51.108Z"
    }
  ]
}