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

@quincarter/create-lit-app

v1.1.6

Published

Interactive CLI initializer for Lit Element App Shell architecture

Downloads

2,778

Readme

@quincarter/create-lit-app ⚡

Interactive CLI initializer to scaffold production-ready Lit Element applications with an App Shell architecture, Preact Signals, Lit Context, Lit Router, and UI component suites.

Quick Start

Run instantly with npx (no pre-installation required):

npx @quincarter/create-lit-app

Or pass a project name directly:

npx @quincarter/create-lit-app my-app

Starter Templates & Interactive TUI

When prompted, an interactive terminal user interface (TUI) lets you easily select options using Arrow Keys (or j/k), Spacebar to toggle checkboxes, and Enter to confirm.

You can choose from three starter presets:

  1. Full App Shell Starter: header, navigation, router, contexts, signals Todo List, cards, charts, and MFE loader.
  2. Blank App Shell Host: minimal Lit App host container with App Shell foundations.
  3. Custom Selection: interactively toggle specific architectural features in a scrollable TUI checkbox list with automatic dependency checks (e.g. selecting Routing enforces Lit Context).

Single-select questions (Package Manager, Git Initialization, Install Dependencies) use interactive TUI radio options.


CLI Options & Flags

npx @quincarter/create-lit-app [options]

Options Overview

| Flag | Description | Default | | :--- | :--- | :--- | | --name=<name> | Project directory / package name | my-app-shell | | --template=<type> | Preset: full | blank | custom | full | | --pm=<yarn\|npm\|pnpm> | Package manager to use (yarn, npm, or pnpm) | yarn | | --router / --no-router | @lit-labs/router (auto-enables @lit/context) | true | | --context / --no-context | @lit/context dependency injection | true | | --signals / --no-signals | Preact Signals & IndexedDB store | true | | --todos / --no-todos | Signals Todo List component & view | true | | --cards / --no-cards | Generic Card component & view | true | | --charts / --no-charts | Chart.js wrapper component & view | true | | --header / --no-header | AppShellHeader navigation bar | true | | --theme-switcher / --no-theme-switcher | Dark/Light mode theme switcher toggle | true | | --mfe-loader / --no-mfe-loader | Micro-Frontend (MFE) loader utility | true | | --git / --no-git | Initialize Git repository | true | | --install / --no-install | Run package manager installation step | false | | -y, --yes | Run non-interactively with defaults | false | | -v, --version | Display version number | - | | -h, --help | Display CLI help menu | - |


Development & Modular Architecture

The generator CLI source is modularized under the cli/ directory:

  • cli/00-header.sh: Shebang, metadata, ANSI colors, and logging utilities.
  • cli/10-defaults.sh: Configuration variable defaults.
  • cli/20-args.sh: CLI flag parsing and help documentation.
  • cli/30-tui.sh: TUI raw mode helpers, radio menus, and scrollable checkbox list with dependency checks.
  • cli/40-config-generators.sh: Scaffolding setup & core config file generators (package.json, tsconfig.json, vite.config.ts, etc.).
  • cli/50-shared-generators.sh: Shared modules & context generators.
  • cli/60-stores-generators.sh: Persistent signal stores & internal status view generators.
  • cli/70-components-generators.sh: UI component generators (header, theme-switcher, card, chart-js, todos).
  • cli/80-views-generators.sh: Views & ViewMixin generators.
  • cli/90-app-shell-generator.sh: Root app-shell.ts Lit component generator.
  • cli/99-post-install.sh: Post-generation setup steps.

To assemble and validate the combined create-app-shell.sh script after making changes in cli/:

npm run build

Publishing to NPM

To publish updates to npm under your scope:

npm run build
npm publish --access public

License

MIT © Quin Carter