{
  "name": "which",
  "url": "https://canirequire.com/package/which/",
  "description": "Like which(1) unix command. Find the first instance of an executable in the PATH.",
  "latest": "7.0.0",
  "latestPublished": "2026-05-08T18:30:58.733Z",
  "format": "cjs",
  "summary": "which@7.0.0 is a CommonJS package. which ships CommonJS only. require(\"which\") works everywhere. import \"which\" also works because Node.js and Bun can import CommonJS from ES modules, but only the default export is guaranteed; named imports depend on Node's static analysis of the module.",
  "esmOnlySince": null,
  "esmOnlySinceDate": null,
  "lastCommonJsVersion": "7.0.0",
  "lastCommonJsDate": "2026-05-08T18:30:58.733Z",
  "nativeEsmSince": null,
  "types": "definitely-typed",
  "nodeEngines": "^22.22.2 || ^24.15.0 || >=26.0.0",
  "deprecated": null,
  "license": "ISC",
  "repository": "https://github.com/npm/node-which",
  "weeklyDownloads": 290160551,
  "runtime": {
    "verifiedAt": "2026-09-09T15:27:30.749Z",
    "node": {
      "18": {
        "require": true,
        "import": true,
        "requireError": null,
        "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": "7.0.0",
      "format": "cjs",
      "published": "2026-05-08T18:30:58.733Z"
    },
    {
      "version": "6.0.1",
      "format": "cjs",
      "published": "2026-02-10T15:41:43.706Z"
    },
    {
      "version": "6.0.0",
      "format": "cjs",
      "published": "2025-11-10T17:25:39.784Z"
    },
    {
      "version": "5.0.0",
      "format": "cjs",
      "published": "2024-10-01T18:02:58.779Z"
    },
    {
      "version": "4.0.0",
      "format": "cjs",
      "published": "2023-08-29T18:39:57.339Z"
    },
    {
      "version": "3.0.1",
      "format": "cjs",
      "published": "2023-05-01T17:34:02.081Z"
    },
    {
      "version": "3.0.0",
      "format": "cjs",
      "published": "2022-11-01T19:20:24.475Z"
    },
    {
      "version": "2.0.2",
      "format": "cjs",
      "published": "2019-11-18T22:26:15.325Z"
    },
    {
      "version": "2.0.1",
      "format": "cjs",
      "published": "2019-10-03T23:26:57.574Z"
    },
    {
      "version": "2.0.0",
      "format": "cjs",
      "published": "2019-10-03T22:52:08.445Z"
    },
    {
      "version": "1.3.1",
      "format": "cjs",
      "published": "2018-05-25T22:27:32.406Z"
    },
    {
      "version": "1.3.0",
      "format": "cjs",
      "published": "2017-08-01T00:54:54.042Z"
    },
    {
      "version": "1.2.14",
      "format": "cjs",
      "published": "2017-03-23T05:58:25.358Z"
    },
    {
      "version": "1.2.13",
      "format": "cjs",
      "published": "2017-03-23T05:50:01.372Z"
    },
    {
      "version": "1.2.12",
      "format": "cjs",
      "published": "2016-11-11T22:21:00.166Z"
    },
    {
      "version": "1.2.11",
      "format": "cjs",
      "published": "2016-09-05T16:36:38.725Z"
    },
    {
      "version": "1.2.10",
      "format": "cjs",
      "published": "2016-06-05T08:52:24.836Z"
    },
    {
      "version": "1.2.9",
      "format": "cjs",
      "published": "2016-05-18T20:31:03.508Z"
    },
    {
      "version": "1.2.8",
      "format": "cjs",
      "published": "2016-05-05T18:21:54.829Z"
    },
    {
      "version": "1.2.7",
      "format": "cjs",
      "published": "2016-05-05T00:49:14.976Z"
    },
    {
      "version": "1.2.6",
      "format": "cjs",
      "published": "2016-05-05T00:48:06.024Z"
    },
    {
      "version": "1.2.5",
      "format": "cjs",
      "published": "2016-05-05T00:45:23.648Z"
    },
    {
      "version": "1.2.4",
      "format": "cjs",
      "published": "2016-01-26T23:39:48.262Z"
    },
    {
      "version": "1.2.1",
      "format": "cjs",
      "published": "2015-12-22T17:43:12.774Z"
    },
    {
      "version": "1.2.0",
      "format": "cjs",
      "published": "2015-10-07T19:12:30.993Z"
    },
    {
      "version": "1.1.2",
      "format": "cjs",
      "published": "2015-09-08T23:47:44.246Z"
    },
    {
      "version": "1.1.1",
      "format": "cjs",
      "published": "2015-05-10T04:24:28.768Z"
    },
    {
      "version": "1.1.0",
      "format": "cjs",
      "published": "2015-05-10T04:01:32.694Z"
    },
    {
      "version": "1.0.9",
      "format": "cjs",
      "published": "2015-02-25T20:30:56.254Z"
    },
    {
      "version": "1.0.8",
      "format": "cjs",
      "published": "2014-12-06T08:14:03.285Z"
    },
    {
      "version": "1.0.7",
      "format": "cjs",
      "published": "2014-11-25T10:38:55.262Z"
    },
    {
      "version": "1.0.6",
      "format": "cjs",
      "published": "2014-11-25T10:35:10.788Z"
    },
    {
      "version": "1.0.5",
      "format": "cjs",
      "published": "2012-03-02T00:07:45.774Z"
    },
    {
      "version": "1.0.3",
      "format": "cjs",
      "published": "2012-02-05T07:26:29.424Z"
    },
    {
      "version": "1.0.2",
      "format": "cjs",
      "published": "2011-09-13T20:01:41.982Z"
    },
    {
      "version": "1.0.1",
      "format": "cjs",
      "published": "2011-09-03T00:20:41.576Z"
    },
    {
      "version": "1.0.0",
      "format": "cjs",
      "published": "2011-08-07T18:36:17.514Z"
    }
  ]
}