{
  "name": "entities",
  "url": "https://canirequire.com/package/entities/",
  "description": "Encode & decode XML and HTML entities with ease & speed",
  "latest": "8.1.0",
  "latestPublished": "2026-09-07T22:42:04.929Z",
  "format": "esm-only",
  "summary": "entities@8.1.0 is ESM-only. entities dropped its CommonJS build in 8.0.0 (March 2026). The last version you can require() on every Node.js version, including 18 and older, is 7.0.1, published Jan 21, 2026. On Node.js 20.19+, 22.12+ and every newer release, require(\"entities\") 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. entities@8.1.0 declares engines \">=20.19.0\", so Node.js 18 is outside its supported range regardless of module format.",
  "esmOnlySince": "8.0.0",
  "esmOnlySinceDate": "2026-03-17T11:47:45.464Z",
  "lastCommonJsVersion": "7.0.1",
  "lastCommonJsDate": "2026-01-21T13:46:30.165Z",
  "nativeEsmSince": "4.0.0",
  "types": "bundled",
  "nodeEngines": ">=20.19.0",
  "deprecated": null,
  "license": "BSD-2-Clause",
  "repository": "https://github.com/fb55/entities",
  "weeklyDownloads": 203976592,
  "runtime": {
    "verifiedAt": "2026-09-09T15:27:33.286Z",
    "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.1.0",
      "format": "esm-only",
      "published": "2026-09-07T22:42:04.929Z"
    },
    {
      "version": "8.0.0",
      "format": "esm-only",
      "published": "2026-03-17T11:47:45.464Z"
    },
    {
      "version": "7.0.1",
      "format": "dual",
      "published": "2026-01-21T13:46:30.165Z"
    },
    {
      "version": "7.0.0",
      "format": "dual",
      "published": "2025-09-06T22:19:14.428Z"
    },
    {
      "version": "6.0.1",
      "format": "dual",
      "published": "2025-06-08T19:31:24.093Z"
    },
    {
      "version": "6.0.0",
      "format": "dual",
      "published": "2024-12-22T18:18:13.477Z"
    },
    {
      "version": "5.0.0",
      "format": "dual",
      "published": "2024-06-26T13:31:28.842Z"
    },
    {
      "version": "4.5.0",
      "format": "dual",
      "published": "2023-04-13T17:57:56.308Z"
    },
    {
      "version": "4.4.0",
      "format": "dual",
      "published": "2022-09-01T09:06:21.287Z"
    },
    {
      "version": "4.3.1",
      "format": "dual",
      "published": "2022-07-01T18:44:40.372Z"
    },
    {
      "version": "4.3.0",
      "format": "dual",
      "published": "2022-04-10T13:31:04.117Z"
    },
    {
      "version": "4.2.0",
      "format": "dual",
      "published": "2022-04-07T11:22:13.137Z"
    },
    {
      "version": "4.1.1",
      "format": "dual",
      "published": "2022-04-02T22:14:03.593Z"
    },
    {
      "version": "4.1.0",
      "format": "dual",
      "published": "2022-04-02T12:59:17.088Z"
    },
    {
      "version": "4.0.0",
      "format": "dual",
      "published": "2022-04-01T21:19:22.880Z"
    },
    {
      "version": "3.0.1",
      "format": "cjs",
      "published": "2021-08-09T11:21:47.533Z"
    },
    {
      "version": "3.0.0",
      "format": "cjs",
      "published": "2021-08-07T22:15:41.967Z"
    },
    {
      "version": "2.2.0",
      "format": "cjs",
      "published": "2021-01-25T00:41:37.316Z"
    },
    {
      "version": "2.1.0",
      "format": "cjs",
      "published": "2020-10-17T01:39:42.253Z"
    },
    {
      "version": "2.0.3",
      "format": "cjs",
      "published": "2020-06-03T23:41:02.811Z"
    },
    {
      "version": "2.0.2",
      "format": "cjs",
      "published": "2020-05-09T22:04:37.909Z"
    },
    {
      "version": "2.0.1",
      "format": "cjs",
      "published": "2020-05-09T22:01:48.765Z"
    },
    {
      "version": "2.0.0",
      "format": "cjs",
      "published": "2019-07-17T22:40:24.380Z"
    },
    {
      "version": "1.1.2",
      "format": "cjs",
      "published": "2018-10-21T22:27:03.009Z"
    },
    {
      "version": "1.1.1",
      "format": "cjs",
      "published": "2014-04-15T12:30:05.256Z"
    },
    {
      "version": "1.1.0",
      "format": "cjs",
      "published": "2014-04-14T18:49:46.147Z"
    },
    {
      "version": "1.0.0",
      "format": "cjs",
      "published": "2014-03-17T20:24:54.730Z"
    },
    {
      "version": "0.5.0",
      "format": "cjs",
      "published": "2014-02-16T20:10:22.015Z"
    },
    {
      "version": "0.4.1",
      "format": "cjs",
      "published": "2014-02-16T16:15:38.180Z"
    },
    {
      "version": "0.4.0",
      "format": "cjs",
      "published": "2014-02-16T10:55:39.304Z"
    },
    {
      "version": "0.3.0",
      "format": "cjs",
      "published": "2013-05-18T08:22:16.203Z"
    },
    {
      "version": "0.2.2",
      "format": "cjs",
      "published": "2013-04-20T11:30:53.555Z"
    },
    {
      "version": "0.2.1",
      "format": "cjs",
      "published": "2013-04-08T11:07:06.851Z"
    },
    {
      "version": "0.2.0",
      "format": "cjs",
      "published": "2013-03-03T11:06:51.960Z"
    },
    {
      "version": "0.1.1",
      "format": "cjs",
      "published": "2012-04-19T14:50:57.980Z"
    },
    {
      "version": "0.1.0",
      "format": "cjs",
      "published": "2012-01-14T13:37:38.424Z"
    }
  ]
}