{
  "name": "std-env",
  "url": "https://canirequire.com/package/std-env/",
  "description": "Runtime agnostic JS utils",
  "latest": "4.2.0",
  "latestPublished": "2026-07-07T21:30:47.325Z",
  "format": "esm-only",
  "summary": "std-env@4.2.0 is ESM-only. std-env dropped its CommonJS build in 4.0.0 (March 2026). The last version you can require() on every Node.js version, including 18 and older, is 3.10.0, published Oct 14, 2025. On Node.js 20.19+, 22.12+ and every newer release, require(\"std-env\") 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": "2026-03-10T01:28:20.614Z",
  "lastCommonJsVersion": "3.10.0",
  "lastCommonJsDate": "2025-10-14T09:23:46.812Z",
  "nativeEsmSince": "3.0.0",
  "types": "bundled",
  "nodeEngines": null,
  "deprecated": null,
  "license": "MIT",
  "repository": "https://github.com/unjs/std-env",
  "weeklyDownloads": 97871202,
  "runtime": {
    "verifiedAt": "2026-09-09T15:27:47.450Z",
    "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.2.0",
      "format": "esm-only",
      "published": "2026-07-07T21:30:47.325Z"
    },
    {
      "version": "4.1.0",
      "format": "esm-only",
      "published": "2026-04-15T08:02:30.338Z"
    },
    {
      "version": "4.0.0",
      "format": "esm-only",
      "published": "2026-03-10T01:28:20.614Z"
    },
    {
      "version": "3.10.0",
      "format": "dual",
      "published": "2025-10-14T09:23:46.812Z"
    },
    {
      "version": "3.9.0",
      "format": "dual",
      "published": "2025-04-03T22:39:15.007Z"
    },
    {
      "version": "3.8.1",
      "format": "dual",
      "published": "2025-03-03T12:43:00.389Z"
    },
    {
      "version": "3.8.0",
      "format": "dual",
      "published": "2024-11-08T18:14:35.056Z"
    },
    {
      "version": "3.7.0",
      "format": "dual",
      "published": "2023-12-22T09:46:42.007Z"
    },
    {
      "version": "3.6.0",
      "format": "dual",
      "published": "2023-12-01T10:30:19.552Z"
    },
    {
      "version": "3.5.0",
      "format": "dual",
      "published": "2023-11-14T00:41:27.575Z"
    },
    {
      "version": "3.4.3",
      "format": "dual",
      "published": "2023-08-22T19:57:16.729Z"
    },
    {
      "version": "3.4.2",
      "format": "dual",
      "published": "2023-08-21T09:59:29.495Z"
    },
    {
      "version": "3.4.1",
      "format": "dual",
      "published": "2023-08-21T08:45:38.068Z"
    },
    {
      "version": "3.4.0",
      "format": "dual",
      "published": "2023-08-18T11:29:40.290Z"
    },
    {
      "version": "3.3.3",
      "format": "dual",
      "published": "2023-05-03T22:00:15.904Z"
    },
    {
      "version": "3.3.2",
      "format": "dual",
      "published": "2023-02-02T18:04:20.446Z"
    },
    {
      "version": "3.3.1",
      "format": "dual",
      "published": "2022-11-14T15:27:03.904Z"
    },
    {
      "version": "3.3.0",
      "format": "dual",
      "published": "2022-10-15T16:30:31.452Z"
    },
    {
      "version": "3.2.1",
      "format": "dual",
      "published": "2022-08-12T18:14:29.685Z"
    },
    {
      "version": "3.1.1",
      "format": "dual",
      "published": "2022-04-15T20:43:07.960Z"
    },
    {
      "version": "3.1.0",
      "format": "dual",
      "published": "2022-04-15T19:52:43.163Z"
    },
    {
      "version": "3.0.1",
      "format": "dual",
      "published": "2021-11-05T15:02:40.303Z"
    },
    {
      "version": "3.0.0",
      "format": "dual",
      "published": "2021-11-03T15:03:55.905Z"
    },
    {
      "version": "2.3.1",
      "format": "cjs",
      "published": "2021-09-29T12:14:34.351Z"
    },
    {
      "version": "2.3.0",
      "format": "cjs",
      "published": "2021-02-17T17:54:35.780Z"
    },
    {
      "version": "2.2.1",
      "format": "cjs",
      "published": "2018-11-08T21:44:46.098Z"
    },
    {
      "version": "2.2.0",
      "format": "cjs",
      "published": "2018-11-08T21:33:14.048Z"
    },
    {
      "version": "2.1.1",
      "format": "cjs",
      "published": "2018-11-04T22:54:55.604Z"
    },
    {
      "version": "2.1.0",
      "format": "cjs",
      "published": "2018-11-02T15:48:29.498Z"
    },
    {
      "version": "2.0.2",
      "format": "cjs",
      "published": "2018-10-04T22:05:30.223Z"
    },
    {
      "version": "2.0.1",
      "format": "cjs",
      "published": "2018-10-04T22:02:28.956Z"
    },
    {
      "version": "2.0.0",
      "format": "cjs",
      "published": "2018-10-04T21:53:30.888Z"
    },
    {
      "version": "1.3.1",
      "format": "cjs",
      "published": "2018-06-29T15:20:37.393Z"
    },
    {
      "version": "1.3.0",
      "format": "cjs",
      "published": "2018-04-04T07:55:04.914Z"
    },
    {
      "version": "1.2.0",
      "format": "cjs",
      "published": "2018-04-03T18:36:11.601Z"
    },
    {
      "version": "1.1.0",
      "format": "cjs",
      "published": "2018-03-31T15:28:14.212Z"
    },
    {
      "version": "1.0.0",
      "format": "cjs",
      "published": "2018-03-30T18:02:25.279Z"
    }
  ]
}