{
  "name": "domelementtype",
  "url": "https://canirequire.com/package/domelementtype/",
  "description": "all the types of nodes in htmlparser2's dom",
  "latest": "3.0.0",
  "latestPublished": "2026-03-17T13:24:53.000Z",
  "format": "esm-only",
  "summary": "domelementtype@3.0.0 is ESM-only. domelementtype dropped its CommonJS build in 3.0.0 (March 2026). The last version you can require() on every Node.js version, including 18 and older, is 2.3.0, published Apr 7, 2022. On Node.js 20.19+, 22.12+ and every newer release, require(\"domelementtype\") 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. domelementtype@3.0.0 declares engines \">=20.19.0\", so Node.js 18 is outside its supported range regardless of module format.",
  "esmOnlySince": "3.0.0",
  "esmOnlySinceDate": "2026-03-17T13:24:53.000Z",
  "lastCommonJsVersion": "2.3.0",
  "lastCommonJsDate": "2022-04-07T11:41:20.402Z",
  "nativeEsmSince": "2.3.0",
  "types": "bundled",
  "nodeEngines": ">=20.19.0",
  "deprecated": null,
  "license": "BSD-2-Clause",
  "repository": "https://github.com/fb55/domelementtype",
  "weeklyDownloads": 83837564,
  "runtime": {
    "verifiedAt": "2026-09-09T15:27:51.620Z",
    "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": "3.0.0",
      "format": "esm-only",
      "published": "2026-03-17T13:24:53.000Z"
    },
    {
      "version": "2.3.0",
      "format": "dual",
      "published": "2022-04-07T11:41:20.402Z"
    },
    {
      "version": "2.2.0",
      "format": "cjs",
      "published": "2021-04-01T17:29:08.951Z"
    },
    {
      "version": "2.1.0",
      "format": "cjs",
      "published": "2020-12-02T00:10:14.499Z"
    },
    {
      "version": "2.0.2",
      "format": "cjs",
      "published": "2020-09-13T20:49:06.776Z"
    },
    {
      "version": "2.0.1",
      "format": "cjs",
      "published": "2019-07-30T19:23:33.163Z"
    },
    {
      "version": "2.0.0",
      "format": "cjs",
      "published": "2019-07-30T18:32:04.234Z"
    },
    {
      "version": "1.3.1",
      "format": "cjs",
      "published": "2018-12-06T09:27:33.391Z"
    },
    {
      "version": "1.3.0",
      "format": "cjs",
      "published": "2015-03-03T09:59:23.974Z"
    },
    {
      "version": "1.2.1",
      "format": "cjs",
      "published": "2018-10-21T23:40:43.885Z"
    },
    {
      "version": "1.2.0",
      "format": "cjs",
      "published": "2015-03-03T09:57:11.527Z"
    },
    {
      "version": "1.1.3",
      "format": "cjs",
      "published": "2014-10-30T11:04:12.175Z"
    },
    {
      "version": "1.1.2",
      "format": "cjs",
      "published": "2014-10-30T11:01:56.102Z"
    },
    {
      "version": "1.1.1",
      "format": "cjs",
      "published": "2013-02-15T07:43:13.702Z"
    },
    {
      "version": "1.1.0",
      "format": "cjs",
      "published": "2013-01-09T14:48:09.118Z"
    },
    {
      "version": "1.0.1",
      "format": "cjs",
      "published": "2012-12-04T14:15:50.441Z"
    },
    {
      "version": "1.0.0",
      "format": "cjs",
      "published": "2012-11-10T13:34:56.751Z"
    }
  ]
}