{
  "name": "html-escaper",
  "url": "https://canirequire.com/package/html-escaper/",
  "description": "fast and safe way to escape and unescape &<>'\" chars",
  "latest": "3.0.3",
  "latestPublished": "2021-02-18T08:35:19.586Z",
  "format": "esm-only",
  "summary": "html-escaper@3.0.3 is ESM-only. html-escaper dropped its CommonJS build in 3.0.0 (March 2020). The last version you can require() on every Node.js version, including 18 and older, is 2.0.2, published Mar 27, 2020. On Node.js 20.19+, 22.12+ and every newer release, require(\"html-escaper\") 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": "3.0.0",
  "esmOnlySinceDate": "2020-03-27T13:47:22.157Z",
  "lastCommonJsVersion": "2.0.2",
  "lastCommonJsDate": "2020-03-27T13:29:45.414Z",
  "nativeEsmSince": "2.0.1",
  "types": "definitely-typed",
  "nodeEngines": null,
  "deprecated": null,
  "license": "MIT",
  "repository": "https://github.com/WebReflection/html-escaper",
  "weeklyDownloads": 79754481,
  "runtime": {
    "verifiedAt": "2026-09-09T15:27:53.839Z",
    "node": {
      "18": {
        "require": true,
        "import": true,
        "requireError": null,
        "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": "3.0.3",
      "format": "esm-only",
      "published": "2021-02-18T08:35:19.586Z"
    },
    {
      "version": "3.0.2",
      "format": "esm-only",
      "published": "2021-02-18T07:57:37.811Z"
    },
    {
      "version": "3.0.1",
      "format": "esm-only",
      "published": "2021-02-18T07:27:04.608Z"
    },
    {
      "version": "3.0.0",
      "format": "esm-only",
      "published": "2020-03-27T13:47:22.157Z"
    },
    {
      "version": "2.0.2",
      "format": "cjs",
      "published": "2020-03-27T13:29:45.414Z"
    },
    {
      "version": "2.0.1",
      "format": "esm-only",
      "published": "2020-03-21T12:47:45.877Z"
    },
    {
      "version": "2.0.0",
      "format": "cjs",
      "published": "2019-07-25T21:30:21.044Z"
    },
    {
      "version": "1.0.1",
      "format": "cjs",
      "published": "2017-06-06T20:18:48.324Z"
    },
    {
      "version": "1.0.0",
      "format": "cjs",
      "published": "2015-04-08T09:55:12.173Z"
    }
  ]
}