npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@qwik-custom-elements/adapter-lit

v1.0.2

Published

Lit adapter for @qwik-custom-elements — SSR via @lit-labs/ssr (Declarative Shadow DOM)

Readme

@qwik-custom-elements/adapter-lit

Lit-specific adapter contract and SSR surface for generated Qwik custom-element integration.

Install

npm install @qwik-custom-elements/adapter-lit

Peer dependencies:

npm install @builder.io/qwik lit

For SSR support, also install the optional peers:

npm install @lit-labs/ssr @lit-labs/ssr-client

Quickstart

Reference this adapter in your qwik-custom-elements.config.json:

{
  "projects": [
    {
      "id": "my-lit-lib",
      "adapter": "lit",
      "adapterPackage": "@qwik-custom-elements/adapter-lit",
      "source": {
        "type": "PACKAGE_NAME",
        "packageName": "my-lit-lib"
      },
      "adapterOptions": {
        "runtime": {
          "libraryImport": "my-lit-lib"
        }
      },
      "outDir": "./src/generated/lit/csr"
    }
  ]
}

For SSR-capable generation, set "adapterPackage" to "@qwik-custom-elements/adapter-lit/ssr" and point "outDir" to a separate SSR folder.

Run npx qwik-custom-elements to generate Qwik wrappers from the Lit component library.

Support Policy

This package follows semantic versioning. See COMPATIBILITY.md for tested combinations of adapter-lit, Qwik, Lit, @lit-labs/ssr, and Node.js.

Breaking changes always include an explicit BREAKING section in the release notes and require an update to COMPATIBILITY.md before merging.

Ownership Boundary

@qwik-custom-elements/adapter-lit owns Lit-specific generation behavior.

That ownership includes:

  • Lit capability metadata
  • Lit SSR capability probing and SSR-specific output contracts
  • adapter-owned generated barrels, wrapper modules, and any Lit-specific generated helper modules
  • framework-specific output shape decisions that must not live in core

Core may orchestrate the run and pass typed parsed component metadata into the adapter, but core should not shape Lit-generated output directly.

Current Exports

This package currently exposes:

  • @qwik-custom-elements/adapter-lit
    • Lit adapter metadata
    • SSR capability probe wiring
  • @qwik-custom-elements/adapter-lit/ssr
    • Lit SSR placeholder probe and SSR markup contract

Current Status

Lit support is still an adapter-contract surface rather than a complete generated-wrapper implementation.

Even so, the architectural boundary is already fixed: when Lit-generated wrappers or helper modules are emitted, they belong to this adapter rather than @qwik-custom-elements/core.

Documentation Expectations

When Lit adapter contracts or generated output ownership change, update this README alongside the system decisions and findings logs.