{
  "name": "parse-json",
  "url": "https://canirequire.com/package/parse-json/",
  "description": "Parse JSON with more helpful errors",
  "latest": "8.3.0",
  "latestPublished": "2025-04-09T09:02:03.317Z",
  "format": "esm-only",
  "summary": "parse-json@8.3.0 is ESM-only. parse-json dropped its CommonJS build in 6.0.0 (November 2021). The last version you can require() on every Node.js version, including 18 and older, is 5.2.0, published Jan 18, 2021. On Node.js 20.19+, 22.12+ and every newer release, require(\"parse-json\") 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": "6.0.0",
  "esmOnlySinceDate": "2021-11-04T07:31:33.913Z",
  "lastCommonJsVersion": "5.2.0",
  "lastCommonJsDate": "2021-01-18T11:15:13.459Z",
  "nativeEsmSince": "6.0.0",
  "types": "bundled",
  "nodeEngines": ">=18",
  "deprecated": null,
  "license": "MIT",
  "repository": "https://github.com/sindresorhus/parse-json",
  "weeklyDownloads": 121741497,
  "runtime": {
    "verifiedAt": "2026-09-09T15:27:41.720Z",
    "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": "8.3.0",
      "format": "esm-only",
      "published": "2025-04-09T09:02:03.317Z"
    },
    {
      "version": "8.2.0",
      "format": "esm-only",
      "published": "2025-03-21T07:57:48.662Z"
    },
    {
      "version": "8.1.0",
      "format": "esm-only",
      "published": "2023-11-22T15:16:39.592Z"
    },
    {
      "version": "8.0.1",
      "format": "esm-only",
      "published": "2023-11-09T10:58:54.795Z"
    },
    {
      "version": "8.0.0",
      "format": "esm-only",
      "published": "2023-11-02T19:12:14.219Z"
    },
    {
      "version": "7.1.1",
      "format": "esm-only",
      "published": "2023-10-27T18:32:13.983Z"
    },
    {
      "version": "7.1.0",
      "format": "esm-only",
      "published": "2023-09-01T06:40:05.405Z"
    },
    {
      "version": "7.0.0",
      "format": "esm-only",
      "published": "2023-04-07T03:00:21.988Z"
    },
    {
      "version": "6.0.2",
      "format": "esm-only",
      "published": "2021-11-21T06:20:19.136Z"
    },
    {
      "version": "6.0.1",
      "format": "esm-only",
      "published": "2021-11-15T02:48:09.224Z"
    },
    {
      "version": "6.0.0",
      "format": "esm-only",
      "published": "2021-11-04T07:31:33.913Z"
    },
    {
      "version": "5.2.0",
      "format": "cjs",
      "published": "2021-01-18T11:15:13.459Z"
    },
    {
      "version": "5.1.0",
      "format": "cjs",
      "published": "2020-08-22T20:43:07.895Z"
    },
    {
      "version": "5.0.1",
      "format": "cjs",
      "published": "2020-07-24T05:18:36.819Z"
    },
    {
      "version": "5.0.0",
      "format": "cjs",
      "published": "2019-07-02T18:02:21.255Z"
    },
    {
      "version": "4.0.0",
      "format": "cjs",
      "published": "2017-11-04T07:53:50.125Z"
    },
    {
      "version": "3.0.0",
      "format": "cjs",
      "published": "2017-08-17T10:11:16.080Z"
    },
    {
      "version": "2.2.0",
      "format": "cjs",
      "published": "2015-08-31T16:36:30.005Z"
    },
    {
      "version": "2.1.0",
      "format": "cjs",
      "published": "2015-08-26T15:15:54.581Z"
    },
    {
      "version": "2.0.0",
      "format": "cjs",
      "published": "2015-08-25T14:14:38.170Z"
    },
    {
      "version": "1.0.1",
      "format": "cjs",
      "published": "2015-08-03T10:29:22.749Z"
    },
    {
      "version": "1.0.0",
      "format": "cjs",
      "published": "2015-07-28T19:05:09.989Z"
    }
  ]
}