{
  "name": "lit-element",
  "url": "https://canirequire.com/package/lit-element/",
  "description": "A simple base class for creating fast, lightweight web components",
  "latest": "4.2.2",
  "latestPublished": "2025-12-23T22:03:30.237Z",
  "format": "esm-only",
  "summary": "lit-element@4.2.2 is ESM-only. lit-element dropped its CommonJS build in 2.4.0 (August 2020). The last version you can require() on every Node.js version, including 18 and older, is 2.3.1, published Mar 20, 2020. On Node.js 20.19+, 22.12+ and every newer release, require(\"lit-element\") 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": "2.4.0",
  "esmOnlySinceDate": "2020-08-19T19:44:46.736Z",
  "lastCommonJsVersion": "2.3.1",
  "lastCommonJsDate": "2020-03-20T00:59:00.250Z",
  "nativeEsmSince": "2.4.0",
  "types": "bundled",
  "nodeEngines": null,
  "deprecated": null,
  "license": "BSD-3-Clause",
  "repository": "https://github.com/lit/lit",
  "weeklyDownloads": 5839761,
  "runtime": {
    "verifiedAt": "2026-09-09T15:29:51.788Z",
    "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": "4.2.2",
      "format": "esm-only",
      "published": "2025-12-23T22:03:30.237Z"
    },
    {
      "version": "4.2.1",
      "format": "esm-only",
      "published": "2025-07-11T03:36:50.716Z"
    },
    {
      "version": "4.2.0",
      "format": "esm-only",
      "published": "2025-04-11T15:37:18.450Z"
    },
    {
      "version": "4.1.1",
      "format": "esm-only",
      "published": "2024-10-07T19:00:49.921Z"
    },
    {
      "version": "4.1.0",
      "format": "esm-only",
      "published": "2024-08-05T19:58:30.047Z"
    },
    {
      "version": "4.0.6",
      "format": "esm-only",
      "published": "2024-06-04T22:05:10.637Z"
    },
    {
      "version": "4.0.5",
      "format": "esm-only",
      "published": "2024-04-15T23:16:00.589Z"
    },
    {
      "version": "4.0.4",
      "format": "esm-only",
      "published": "2024-01-31T19:49:49.511Z"
    },
    {
      "version": "4.0.3",
      "format": "esm-only",
      "published": "2024-01-09T23:23:17.891Z"
    },
    {
      "version": "4.0.2",
      "format": "esm-only",
      "published": "2023-11-16T00:45:27.905Z"
    },
    {
      "version": "4.0.1",
      "format": "esm-only",
      "published": "2023-10-28T02:57:05.191Z"
    },
    {
      "version": "4.0.0",
      "format": "esm-only",
      "published": "2023-10-10T05:15:50.359Z"
    },
    {
      "version": "3.3.3",
      "format": "esm-only",
      "published": "2023-08-02T20:12:59.499Z"
    },
    {
      "version": "3.3.2",
      "format": "esm-only",
      "published": "2023-04-26T00:32:07.031Z"
    },
    {
      "version": "3.3.1",
      "format": "esm-only",
      "published": "2023-04-03T21:29:04.521Z"
    },
    {
      "version": "3.3.0",
      "format": "esm-only",
      "published": "2023-03-22T00:16:52.051Z"
    },
    {
      "version": "3.2.2",
      "format": "esm-only",
      "published": "2022-07-22T00:15:49.402Z"
    },
    {
      "version": "3.2.1",
      "format": "esm-only",
      "published": "2022-06-29T19:20:27.930Z"
    },
    {
      "version": "3.2.0",
      "format": "esm-only",
      "published": "2022-02-18T00:00:11.915Z"
    },
    {
      "version": "3.1.2",
      "format": "esm-only",
      "published": "2022-01-25T20:01:10.784Z"
    },
    {
      "version": "3.1.1",
      "format": "esm-only",
      "published": "2022-01-06T18:00:04.105Z"
    },
    {
      "version": "3.1.0",
      "format": "esm-only",
      "published": "2022-01-05T21:10:00.433Z"
    },
    {
      "version": "3.0.2",
      "format": "esm-only",
      "published": "2021-11-09T19:50:18.354Z"
    },
    {
      "version": "3.0.1",
      "format": "esm-only",
      "published": "2021-10-07T19:56:11.995Z"
    },
    {
      "version": "3.0.0",
      "format": "esm-only",
      "published": "2021-09-21T01:12:06.347Z"
    },
    {
      "version": "2.5.1",
      "format": "esm-only",
      "published": "2021-05-06T02:50:48.251Z"
    },
    {
      "version": "2.5.0",
      "format": "esm-only",
      "published": "2021-04-30T15:48:57.534Z"
    },
    {
      "version": "2.4.0",
      "format": "esm-only",
      "published": "2020-08-19T19:44:46.736Z"
    },
    {
      "version": "2.3.1",
      "format": "cjs",
      "published": "2020-03-20T00:59:00.250Z"
    },
    {
      "version": "2.3.0",
      "format": "cjs",
      "published": "2020-03-18T20:28:52.616Z"
    },
    {
      "version": "2.2.1",
      "format": "cjs",
      "published": "2019-07-24T17:56:35.958Z"
    },
    {
      "version": "2.2.0",
      "format": "cjs",
      "published": "2019-06-11T20:54:34.981Z"
    },
    {
      "version": "2.1.0",
      "format": "cjs",
      "published": "2019-03-21T19:08:49.490Z"
    },
    {
      "version": "2.0.1",
      "format": "cjs",
      "published": "2019-02-05T19:15:31.972Z"
    },
    {
      "version": "2.0.0",
      "format": "cjs",
      "published": "2019-02-05T18:53:20.523Z"
    },
    {
      "version": "1.0.0",
      "format": "cjs",
      "published": "2017-09-07T13:06:01.460Z"
    },
    {
      "version": "0.5.0",
      "format": "cjs",
      "published": "2018-07-28T11:59:14.130Z"
    },
    {
      "version": "0.4.13",
      "format": "cjs",
      "published": "2018-07-28T11:57:10.019Z"
    },
    {
      "version": "0.4.12",
      "format": "cjs",
      "published": "2018-05-04T22:32:14.728Z"
    },
    {
      "version": "0.4.11",
      "format": "cjs",
      "published": "2018-05-02T21:06:07.471Z"
    },
    {
      "version": "0.4.10",
      "format": "cjs",
      "published": "2018-04-29T18:35:51.690Z"
    },
    {
      "version": "0.4.9",
      "format": "cjs",
      "published": "2018-04-26T08:29:57.421Z"
    },
    {
      "version": "0.4.8",
      "format": "cjs",
      "published": "2018-04-20T17:14:58.593Z"
    },
    {
      "version": "0.4.7",
      "format": "cjs",
      "published": "2018-04-13T21:45:06.312Z"
    },
    {
      "version": "0.4.6",
      "format": "cjs",
      "published": "2018-04-13T21:20:34.202Z"
    },
    {
      "version": "0.4.5",
      "format": "cjs",
      "published": "2018-02-12T22:18:28.216Z"
    },
    {
      "version": "0.4.4",
      "format": "cjs",
      "published": "2018-01-11T18:50:46.657Z"
    },
    {
      "version": "0.4.3",
      "format": "cjs",
      "published": "2018-01-11T18:47:22.883Z"
    },
    {
      "version": "0.4.2",
      "format": "cjs",
      "published": "2018-01-11T18:11:14.481Z"
    },
    {
      "version": "0.4.1",
      "format": "cjs",
      "published": "2018-01-11T17:56:00.002Z"
    },
    {
      "version": "0.4.0",
      "format": "cjs",
      "published": "2018-01-11T17:53:07.939Z"
    },
    {
      "version": "0.2.5",
      "format": "cjs",
      "published": "2017-10-11T18:57:29.144Z"
    },
    {
      "version": "0.2.4",
      "format": "cjs",
      "published": "2017-10-08T18:33:59.121Z"
    },
    {
      "version": "0.2.3",
      "format": "cjs",
      "published": "2017-09-08T12:21:27.377Z"
    },
    {
      "version": "0.2.2",
      "format": "cjs",
      "published": "2017-09-08T12:18:45.766Z"
    },
    {
      "version": "0.2.1",
      "format": "cjs",
      "published": "2017-09-08T10:05:05.433Z"
    },
    {
      "version": "0.2.0",
      "format": "cjs",
      "published": "2017-09-08T08:42:53.622Z"
    },
    {
      "version": "0.1.0",
      "format": "cjs",
      "published": "2017-09-08T08:35:34.082Z"
    }
  ]
}