lit 2.7.1
A library for building fast, lightweight web components
lit@2.7.1 was published on 2023-04-03. Its manifest declares 3 runtime dependencies and 0 peer requirements. Type declarations are bundled according to the package metadata. No Node.js engine requirement is declared in this manifest.
All lit versions · Permanent reference to 2.7.1 · Latest release
Package specifications
| Version | 2.7.1 |
|---|---|
| License declaration | BSD-3-Clause |
| Published | 2023-04-03T21:29:04.419Z |
| Node.js requirement | Not declared |
| Type declarations | Bundled declarations |
| Runtime dependency count | 3 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 119.24 KiB |
| Published file count | 325 |
| Package type | module |
| ES module entry | index.js |
| Default entry | index.js |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 5 |
| Repository stars | 21861 |
| Repository forks | 1113 |
Install lit 2.7.1
npm install lit@2.7.1 pnpm add lit@2.7.1 yarn add lit@2.7.1
Runtime dependencies
- lit-html ^2.7.0
- lit-element ^3.3.0
- @lit/reactive-element ^1.6.0
Peer requirements
- None declared
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- @lit-labs/ssr-dom-shim@1.6.0 — indirect
- @lit/reactive-element@1.6.3 — direct
- @types/trusted-types@2.0.7 — indirect
- lit-element@3.3.3 — direct
- lit-html@2.8.0 — direct
How to interpret the specifications
Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.
Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.
OpenSSF repository checks
Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
|---|---|
| Code-Review | 9/10 — Found 29/30 approved changesets -- score normalized to 9 |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| Maintained | 6/10 — 3 commit(s) and 5 issue activity found in the last 90 days -- score normalized to 6 |
| Security-Policy | 10/10 — security policy file detected |
| Token-Permissions | 10/10 — GitHub workflow tokens follow principle of least privilege |
| License | 10/10 — license file detected |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| Pinned-Dependencies | 3/10 — dependency not pinned by hash detected -- score normalized to 3 |
| Fuzzing | 10/10 — project is fuzzed |
| SAST | 5/10 — SAST tool is not run on all commits -- score normalized to 5 |
Evidence and freshness
- https://registry.npmjs.org/lit/2.7.1 — retrieved 2026-10-29T06:33:06.345Z
- https://api.deps.dev/v3/projects/github.com%2Flit%2Flit — retrieved 2026-10-29T05:10:03.804Z
- https://api.deps.dev/v3/systems/npm/packages/lit/versions/2.7.1:dependencies — retrieved 2026-10-29T06:33:06.903Z
- https://api.deps.dev/v3/systems/npm/packages/lit/versions/2.7.1 — retrieved 2026-10-29T06:33:06.939Z