{
  "name": "find-cache-dir",
  "url": "https://canirequire.com/package/find-cache-dir/",
  "description": "Finds the common standard cache directory",
  "latest": "6.0.0",
  "latestPublished": "2025-04-08T15:30:14.851Z",
  "format": "esm-only",
  "summary": "find-cache-dir@6.0.0 is ESM-only. find-cache-dir dropped its CommonJS build in 4.0.0 (November 2022). The last version you can require() on every Node.js version, including 18 and older, is 3.3.2, published Aug 29, 2021. On Node.js 20.19+, 22.12+ and every newer release, require(\"find-cache-dir\") 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": "2022-11-04T10:42:15.400Z",
  "lastCommonJsVersion": "3.3.2",
  "lastCommonJsDate": "2021-08-29T17:57:35.086Z",
  "nativeEsmSince": "4.0.0",
  "types": "bundled",
  "nodeEngines": ">=16",
  "deprecated": "Renamed to `find-cache-directory`.",
  "license": "MIT",
  "repository": "https://github.com/sindresorhus/find-cache-dir",
  "weeklyDownloads": 39592930,
  "runtime": {
    "verifiedAt": "2026-09-09T15:28:28.859Z",
    "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": "2025-04-08T15:30:14.851Z"
    },
    {
      "version": "5.0.0",
      "format": "esm-only",
      "published": "2023-08-18T23:47:06.336Z"
    },
    {
      "version": "4.0.0",
      "format": "esm-only",
      "published": "2022-11-04T10:42:15.400Z"
    },
    {
      "version": "3.3.2",
      "format": "cjs",
      "published": "2021-08-29T17:57:35.086Z"
    },
    {
      "version": "3.3.1",
      "format": "cjs",
      "published": "2020-03-09T06:19:11.460Z"
    },
    {
      "version": "3.3.0",
      "format": "cjs",
      "published": "2020-02-22T15:12:34.144Z"
    },
    {
      "version": "3.2.0",
      "format": "cjs",
      "published": "2019-12-12T12:16:48.624Z"
    },
    {
      "version": "3.1.0",
      "format": "cjs",
      "published": "2019-11-09T05:36:15.030Z"
    },
    {
      "version": "3.0.0",
      "format": "cjs",
      "published": "2019-04-09T17:28:45.788Z"
    },
    {
      "version": "2.1.0",
      "format": "cjs",
      "published": "2019-03-12T06:28:05.014Z"
    },
    {
      "version": "2.0.0",
      "format": "cjs",
      "published": "2018-06-18T13:58:20.824Z"
    },
    {
      "version": "1.0.0",
      "format": "cjs",
      "published": "2017-05-12T14:28:50.644Z"
    },
    {
      "version": "0.1.1",
      "format": "cjs",
      "published": "2015-12-30T06:15:34.620Z"
    },
    {
      "version": "0.1.0",
      "format": "cjs",
      "published": "2015-12-30T05:27:14.863Z"
    }
  ]
}