{
  "name": "env-paths",
  "url": "https://canirequire.com/package/env-paths/",
  "description": "Get paths for storing things like data, config, cache, etc",
  "latest": "4.0.0",
  "latestPublished": "2026-01-24T14:29:07.374Z",
  "format": "esm-only",
  "summary": "env-paths@4.0.0 is ESM-only. env-paths dropped its CommonJS build in 3.0.0 (August 2021). The last version you can require() on every Node.js version, including 18 and older, is 2.2.1, published Mar 8, 2021. On Node.js 20.19+, 22.12+ and every newer release, require(\"env-paths\") 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. env-paths@4.0.0 declares engines \">=20\", so Node.js 18 is outside its supported range regardless of module format.",
  "esmOnlySince": "3.0.0",
  "esmOnlySinceDate": "2021-08-27T20:16:10.424Z",
  "lastCommonJsVersion": "2.2.1",
  "lastCommonJsDate": "2021-03-08T12:31:06.769Z",
  "nativeEsmSince": "3.0.0",
  "types": "bundled",
  "nodeEngines": ">=20",
  "deprecated": null,
  "license": "MIT",
  "repository": "https://github.com/sindresorhus/env-paths",
  "weeklyDownloads": 77610480,
  "runtime": {
    "verifiedAt": "2026-09-09T15:27:55.537Z",
    "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": "2026-01-24T14:29:07.374Z"
    },
    {
      "version": "3.0.0",
      "format": "esm-only",
      "published": "2021-08-27T20:16:10.424Z"
    },
    {
      "version": "2.2.1",
      "format": "cjs",
      "published": "2021-03-08T12:31:06.769Z"
    },
    {
      "version": "2.2.0",
      "format": "cjs",
      "published": "2019-04-01T09:01:49.706Z"
    },
    {
      "version": "2.1.0",
      "format": "cjs",
      "published": "2019-03-04T16:28:09.051Z"
    },
    {
      "version": "2.0.0",
      "format": "cjs",
      "published": "2018-11-05T05:04:24.814Z"
    },
    {
      "version": "1.0.0",
      "format": "cjs",
      "published": "2017-01-10T03:58:46.365Z"
    },
    {
      "version": "0.3.1",
      "format": "cjs",
      "published": "2016-10-18T04:03:30.370Z"
    },
    {
      "version": "0.3.0",
      "format": "cjs",
      "published": "2016-07-02T19:49:16.706Z"
    },
    {
      "version": "0.2.0",
      "format": "cjs",
      "published": "2016-06-24T10:40:04.936Z"
    },
    {
      "version": "0.1.0",
      "format": "cjs",
      "published": "2016-06-21T21:34:01.070Z"
    }
  ]
}