Gathering detailed insights and metrics for lit-element
Gathering detailed insights and metrics for lit-element
Gathering detailed insights and metrics for lit-element
Gathering detailed insights and metrics for lit-element
Lit is a simple library for building fast, lightweight web components.
npm install lit-element
@lit-labs/signals@0.1.1
Published on 07 Oct 2024
@lit-labs/observers@2.0.4
Published on 07 Oct 2024
@lit/react@1.0.6
Published on 07 Oct 2024
lit-element@4.1.1
Published on 07 Oct 2024
lit-html@3.2.1
Published on 07 Oct 2024
lit@3.2.1
Published on 07 Oct 2024
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
18,878 Stars
2,526 Commits
931 Forks
207 Watching
200 Branches
185 Contributors
Updated on 28 Nov 2024
Minified
Minified + Gzipped
TypeScript (58.12%)
JavaScript (39.23%)
HTML (2.23%)
CSS (0.23%)
Vue (0.17%)
Shell (0.01%)
Cumulative downloads
Total Downloads
Last day
-5.1%
394,565
Compared to previous day
Last week
2.3%
2,185,653
Compared to previous week
Last month
6.8%
9,284,747
Compared to previous month
Last year
57.3%
90,617,204
Compared to previous year
Lit is a simple library for building fast, lightweight web components.
At Lit's core is a boilerplate-killing component base class that provides reactive state, scoped styles, and a declarative template system that's tiny, fast and expressive.
See the full documentation for Lit at lit.dev.
Additional documentation for developers looking to contribute or understand more about the project can be found in dev-docs
.
To install from npm:
1npm i lit
This is the monorepo for Lit packages.
lit 2.x source is available on the 2.x
branch.
lit-html 1.x source is available on the lit-html-1.x
branch.
lit
- The primary user-facing package of Lit which includes everything from lit-html and lit-element.lit-element
- The web component base class used in Lit.lit-html
- The rendering library used by LitElement.@lit/reactive-element
- A low level base class that provides a reactive lifecycle based on attribute/property changes.@lit/localize
- A library and command-line tool for localizing web applications built using Lit.@lit/localize-tools
- Localization tooling for use with @lit/localize
.@lit/react
- A React component wrapper for web components.@lit/task
- A controller for Lit that renders asynchronous tasks.@lit/context
- A system for passing data through a tree of elements using browser events, avoiding the need to pass properties down every layer of the tree using a community defined protocol.@lit-labs/ssr
- A server package for rendering Lit templates and components on the server.@lit-labs/ssr-client
- A set of client-side support modules for rendering Lit components and templates on the server using @lit-labs/ssr
.@lit-labs/eleventy-plugin-lit
- A plugin for Eleventy that pre-renders
Lit components using @lit-labs/ssr
with optional hydration.@lit-labs/ssr-react
- A package for integrating Lit SSR with React and React frameworks.@lit-labs/nextjs
- A plugin for Next.js that enables deep server rendering of Lit components with Lit SSR.@lit-labs/router
- A router for Lit.@lit-labs/motion
- Lit directives for making things move@lit-labs/scoped-registry-mixin
- A mixin for LitElement that integrates with the speculative Scoped CustomElementRegistry polyfill.@lit-labs/observers
- A set of reactive controllers that facilitate using the platform observer objects.@lit-labs/preact-signals
- Preact Signals integration for Lit.@lit-labs/signals
- TC39 proposal Signals integration for Lit.@lit-labs/testing
- Utilities for testing Lit components.@lit-labs/virtualizer
- Viewport-based virtualization (including virtual scrolling).@lit-labs/compiler
- A compiler for optimizing Lit templates.lit-starter-ts
(template
repo) - A starter repo for building reusable components using Lit in TypeScript.lit-starter-js
(template
repo) - A starter repo for building reusable components using Lit in JavaScript.tests
- Test infrastructure for the monorepo.benchmarks
- Benchmarks for testing various libraries in the monorepo.@lit-internal/scripts
- Utility scripts used within the monorepo.Lit is open source and we appreciate issue reports and pull requests. See CONTRIBUTING.md for more information.
Initialize repo:
1git clone https://github.com/lit/lit.git 2cd lit 3npm ci
Build all packages:
1npm run build
Test all packages:
1npm run test
Run benchmarks for all packages:
1npm run benchmarks
See individual package READMEs for details on developing for a specific package.
No vulnerabilities found.
Reason
all last 30 commits are reviewed through GitHub
Reason
30 commit(s) out of 30 and 22 issue activity out of 30 found in the last 90 days -- score normalized to 10
Reason
no vulnerabilities detected
Reason
license file detected
Details
Reason
no binaries found in the repo
Reason
update tool detected
Details
Reason
branch protection is not maximal on development and all release branches
Details
Reason
dependency not pinned by hash detected -- score normalized to 7
Details
Reason
no badge detected
Reason
non read-only tokens detected in GitHub workflows
Details
Reason
dangerous workflow patterns detected
Details
Reason
security policy file not detected
Reason
project is not fuzzed
Score
Last Scanned on 2022-08-15
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More