{
  "name": "lit",
  "url": "https://canirequire.com/package/lit/",
  "description": "A library for building fast, lightweight web components",
  "latest": "3.3.3",
  "latestPublished": "2026-05-14T03:55:58.007Z",
  "format": "esm-only",
  "summary": "lit@3.3.3 is ESM-only. lit dropped its CommonJS build in 2.0.0 (September 2021). The last version you can require() on every Node.js version, including 18 and older, is 1.0.1, published Jul 5, 2012. On Node.js 20.19+, 22.12+ and every newer release, require(\"lit\") 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.0.0",
  "esmOnlySinceDate": "2021-09-21T01:14:18.016Z",
  "lastCommonJsVersion": "1.0.1",
  "lastCommonJsDate": "2012-07-05T19:11:49.604Z",
  "nativeEsmSince": "2.0.0",
  "types": "bundled",
  "nodeEngines": null,
  "deprecated": null,
  "license": "BSD-3-Clause",
  "repository": "https://github.com/lit/lit",
  "weeklyDownloads": 6324397,
  "runtime": {
    "verifiedAt": "2026-09-09T15:29:47.474Z",
    "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.3.3",
      "format": "esm-only",
      "published": "2026-05-14T03:55:58.007Z"
    },
    {
      "version": "3.3.2",
      "format": "esm-only",
      "published": "2025-12-23T22:03:29.485Z"
    },
    {
      "version": "3.3.1",
      "format": "esm-only",
      "published": "2025-07-11T03:36:50.618Z"
    },
    {
      "version": "3.3.0",
      "format": "esm-only",
      "published": "2025-04-11T15:37:17.931Z"
    },
    {
      "version": "3.2.1",
      "format": "esm-only",
      "published": "2024-10-07T19:00:49.620Z"
    },
    {
      "version": "3.2.0",
      "format": "esm-only",
      "published": "2024-08-05T19:58:29.858Z"
    },
    {
      "version": "3.1.4",
      "format": "esm-only",
      "published": "2024-06-04T22:05:10.730Z"
    },
    {
      "version": "3.1.3",
      "format": "esm-only",
      "published": "2024-04-15T23:16:00.034Z"
    },
    {
      "version": "3.1.2",
      "format": "esm-only",
      "published": "2024-01-31T19:49:49.022Z"
    },
    {
      "version": "3.1.1",
      "format": "esm-only",
      "published": "2024-01-09T23:23:17.390Z"
    },
    {
      "version": "3.1.0",
      "format": "esm-only",
      "published": "2023-11-16T00:45:27.360Z"
    },
    {
      "version": "3.0.2",
      "format": "esm-only",
      "published": "2023-11-02T21:12:23.065Z"
    },
    {
      "version": "3.0.1",
      "format": "esm-only",
      "published": "2023-10-28T02:57:01.153Z"
    },
    {
      "version": "3.0.0",
      "format": "esm-only",
      "published": "2023-10-10T05:15:48.036Z"
    },
    {
      "version": "2.8.0",
      "format": "esm-only",
      "published": "2023-08-02T20:12:58.108Z"
    },
    {
      "version": "2.7.6",
      "format": "esm-only",
      "published": "2023-07-05T21:58:00.911Z"
    },
    {
      "version": "2.7.5",
      "format": "esm-only",
      "published": "2023-06-01T23:11:51.766Z"
    },
    {
      "version": "2.7.4",
      "format": "esm-only",
      "published": "2023-05-04T19:00:31.942Z"
    },
    {
      "version": "2.7.3",
      "format": "esm-only",
      "published": "2023-04-26T00:32:06.249Z"
    },
    {
      "version": "2.7.2",
      "format": "esm-only",
      "published": "2023-04-05T22:12:50.568Z"
    },
    {
      "version": "2.7.1",
      "format": "esm-only",
      "published": "2023-04-03T21:29:04.419Z"
    },
    {
      "version": "2.7.0",
      "format": "esm-only",
      "published": "2023-03-22T00:16:51.216Z"
    },
    {
      "version": "2.6.1",
      "format": "esm-only",
      "published": "2023-01-12T01:49:54.950Z"
    },
    {
      "version": "2.6.0",
      "format": "esm-only",
      "published": "2023-01-09T20:47:27.835Z"
    },
    {
      "version": "2.5.0",
      "format": "esm-only",
      "published": "2022-12-08T19:32:28.962Z"
    },
    {
      "version": "2.4.1",
      "format": "esm-only",
      "published": "2022-11-03T22:28:25.386Z"
    },
    {
      "version": "2.4.0",
      "format": "esm-only",
      "published": "2022-10-05T23:13:08.731Z"
    },
    {
      "version": "2.3.1",
      "format": "esm-only",
      "published": "2022-08-18T23:58:48.193Z"
    },
    {
      "version": "2.3.0",
      "format": "esm-only",
      "published": "2022-08-12T00:50:10.542Z"
    },
    {
      "version": "2.2.8",
      "format": "esm-only",
      "published": "2022-07-22T00:15:45.924Z"
    },
    {
      "version": "2.2.7",
      "format": "esm-only",
      "published": "2022-06-29T19:20:26.785Z"
    },
    {
      "version": "2.2.6",
      "format": "esm-only",
      "published": "2022-06-14T23:29:39.928Z"
    },
    {
      "version": "2.2.5",
      "format": "esm-only",
      "published": "2022-05-25T23:11:39.546Z"
    },
    {
      "version": "2.2.4",
      "format": "esm-only",
      "published": "2022-05-17T18:25:44.965Z"
    },
    {
      "version": "2.2.3",
      "format": "esm-only",
      "published": "2022-04-29T01:10:10.384Z"
    },
    {
      "version": "2.2.2",
      "format": "esm-only",
      "published": "2022-04-06T18:01:20.770Z"
    },
    {
      "version": "2.2.1",
      "format": "esm-only",
      "published": "2022-03-15T20:42:36.484Z"
    },
    {
      "version": "2.2.0",
      "format": "esm-only",
      "published": "2022-02-18T00:00:11.285Z"
    },
    {
      "version": "2.1.4",
      "format": "esm-only",
      "published": "2022-02-15T22:32:24.142Z"
    },
    {
      "version": "2.1.3",
      "format": "esm-only",
      "published": "2022-02-07T18:53:24.160Z"
    },
    {
      "version": "2.1.2",
      "format": "esm-only",
      "published": "2022-01-25T20:01:10.631Z"
    },
    {
      "version": "2.1.1",
      "format": "esm-only",
      "published": "2022-01-06T18:00:03.956Z"
    },
    {
      "version": "2.1.0",
      "format": "esm-only",
      "published": "2022-01-05T21:10:00.179Z"
    },
    {
      "version": "2.0.2",
      "format": "esm-only",
      "published": "2021-10-08T00:01:39.687Z"
    },
    {
      "version": "2.0.1",
      "format": "esm-only",
      "published": "2021-10-07T23:18:06.420Z"
    },
    {
      "version": "2.0.0",
      "format": "esm-only",
      "published": "2021-09-21T01:14:18.016Z"
    },
    {
      "version": "1.0.1",
      "format": "cjs",
      "published": "2012-07-05T19:11:49.604Z"
    },
    {
      "version": "1.0.0",
      "format": "cjs",
      "published": "2012-07-04T20:56:02.247Z"
    }
  ]
}