{
  "name": "clean-stack",
  "url": "https://canirequire.com/package/clean-stack/",
  "description": "Clean up error stack traces",
  "latest": "6.0.0",
  "latestPublished": "2025-11-04T06:46:28.336Z",
  "format": "esm-only",
  "summary": "clean-stack@6.0.0 is ESM-only. clean-stack dropped its CommonJS build in 4.0.0 (April 2021). The last version you can require() on every Node.js version, including 18 and older, is 3.0.1, published Nov 18, 2020. On Node.js 20.19+, 22.12+ and every newer release, require(\"clean-stack\") 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. clean-stack@6.0.0 declares engines \">=20\", so Node.js 18 is outside its supported range regardless of module format.",
  "esmOnlySince": "4.0.0",
  "esmOnlySinceDate": "2021-04-17T17:01:04.639Z",
  "lastCommonJsVersion": "3.0.1",
  "lastCommonJsDate": "2020-11-18T12:55:34.057Z",
  "nativeEsmSince": "4.0.0",
  "types": "bundled",
  "nodeEngines": ">=20",
  "deprecated": null,
  "license": "MIT",
  "repository": "https://github.com/sindresorhus/clean-stack",
  "weeklyDownloads": 31886318,
  "runtime": {
    "verifiedAt": "2026-09-09T15:28:39.469Z",
    "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-11-04T06:46:28.336Z"
    },
    {
      "version": "5.3.0",
      "format": "esm-only",
      "published": "2025-09-15T22:12:56.166Z"
    },
    {
      "version": "5.2.0",
      "format": "esm-only",
      "published": "2023-03-21T10:34:21.848Z"
    },
    {
      "version": "5.1.0",
      "format": "esm-only",
      "published": "2022-12-20T20:04:43.779Z"
    },
    {
      "version": "5.0.1",
      "format": "esm-only",
      "published": "2022-10-27T09:31:09.731Z"
    },
    {
      "version": "5.0.0",
      "format": "esm-only",
      "published": "2022-09-27T08:01:33.826Z"
    },
    {
      "version": "4.2.0",
      "format": "esm-only",
      "published": "2022-04-30T06:39:06.083Z"
    },
    {
      "version": "4.1.0",
      "format": "esm-only",
      "published": "2021-05-25T03:54:16.119Z"
    },
    {
      "version": "4.0.1",
      "format": "esm-only",
      "published": "2021-05-18T10:09:04.148Z"
    },
    {
      "version": "4.0.0",
      "format": "esm-only",
      "published": "2021-04-17T17:01:04.639Z"
    },
    {
      "version": "3.0.1",
      "format": "cjs",
      "published": "2020-11-18T12:55:34.057Z"
    },
    {
      "version": "3.0.0",
      "format": "cjs",
      "published": "2020-06-13T08:26:54.636Z"
    },
    {
      "version": "2.2.0",
      "format": "cjs",
      "published": "2019-07-31T15:24:56.235Z"
    },
    {
      "version": "2.1.0",
      "format": "cjs",
      "published": "2019-04-07T14:23:57.015Z"
    },
    {
      "version": "2.0.0",
      "format": "cjs",
      "published": "2018-10-16T18:09:29.173Z"
    },
    {
      "version": "1.3.0",
      "format": "cjs",
      "published": "2017-05-23T09:33:49.172Z"
    },
    {
      "version": "1.2.0",
      "format": "cjs",
      "published": "2017-05-15T06:08:24.571Z"
    },
    {
      "version": "1.1.1",
      "format": "cjs",
      "published": "2016-11-16T17:26:23.710Z"
    },
    {
      "version": "1.1.0",
      "format": "cjs",
      "published": "2016-11-03T06:03:52.077Z"
    },
    {
      "version": "1.0.0",
      "format": "cjs",
      "published": "2016-09-12T09:31:00.750Z"
    },
    {
      "version": "0.1.1",
      "format": "cjs",
      "published": "2016-07-11T22:26:10.197Z"
    },
    {
      "version": "0.1.0",
      "format": "cjs",
      "published": "2016-07-07T21:38:18.517Z"
    }
  ]
}