{
  "name": "npm-run-path",
  "url": "https://canirequire.com/package/npm-run-path/",
  "description": "Get your PATH prepended with locally installed binaries",
  "latest": "6.0.0",
  "latestPublished": "2024-08-26T08:40:09.814Z",
  "format": "esm-only",
  "summary": "npm-run-path@6.0.0 is ESM-only. npm-run-path dropped its CommonJS build in 5.0.0 (October 2021). The last version you can require() on every Node.js version, including 18 and older, is 4.0.1, published Dec 22, 2019. On Node.js 20.19+, 22.12+ and every newer release, require(\"npm-run-path\") 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": "5.0.0",
  "esmOnlySinceDate": "2021-10-05T07:48:51.022Z",
  "lastCommonJsVersion": "4.0.1",
  "lastCommonJsDate": "2019-12-22T22:04:32.828Z",
  "nativeEsmSince": "5.0.0",
  "types": "bundled",
  "nodeEngines": ">=18",
  "deprecated": null,
  "license": "MIT",
  "repository": "https://github.com/sindresorhus/npm-run-path",
  "weeklyDownloads": 104046769,
  "runtime": {
    "verifiedAt": "2026-09-09T15:27:45.555Z",
    "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": "6.0.0",
      "format": "esm-only",
      "published": "2024-08-26T08:40:09.814Z"
    },
    {
      "version": "5.3.0",
      "format": "esm-only",
      "published": "2024-02-23T02:38:07.190Z"
    },
    {
      "version": "5.2.0",
      "format": "esm-only",
      "published": "2023-12-21T16:02:42.414Z"
    },
    {
      "version": "5.1.0",
      "format": "esm-only",
      "published": "2022-02-09T05:23:18.121Z"
    },
    {
      "version": "5.0.1",
      "format": "esm-only",
      "published": "2021-10-05T07:54:14.961Z"
    },
    {
      "version": "5.0.0",
      "format": "esm-only",
      "published": "2021-10-05T07:48:51.022Z"
    },
    {
      "version": "4.0.1",
      "format": "cjs",
      "published": "2019-12-22T22:04:32.828Z"
    },
    {
      "version": "4.0.0",
      "format": "cjs",
      "published": "2019-10-14T12:22:08.330Z"
    },
    {
      "version": "3.1.0",
      "format": "cjs",
      "published": "2019-04-05T06:35:19.707Z"
    },
    {
      "version": "3.0.0",
      "format": "cjs",
      "published": "2019-03-10T15:25:34.328Z"
    },
    {
      "version": "2.0.2",
      "format": "cjs",
      "published": "2016-09-29T08:10:39.751Z"
    },
    {
      "version": "2.0.1",
      "format": "cjs",
      "published": "2016-09-28T05:02:34.870Z"
    },
    {
      "version": "2.0.0",
      "format": "cjs",
      "published": "2016-09-25T06:34:49.794Z"
    },
    {
      "version": "1.0.0",
      "format": "cjs",
      "published": "2015-12-28T18:54:14.293Z"
    }
  ]
}