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

@kupola/create-kupola

v3.5.2

Published

Scaffold a new Kupola project with one command

Readme

create-kupola

Scaffold a new Kupola project with one command.

Usage

Current version: 2.0.0 (stable):

# Interactive mode
npm create @kupola/kupola
# or
npx @kupola/create-kupola

# Non-interactive mode
npx @kupola/create-kupola my-app --template=flask

CLI Options

| Option | Description | |--------|-------------| | --template=<name> | Skip interactive prompts. Values: static, static-ts, nextjs, nuxt, flask, fastapi, gin |

When using --template, the first positional argument is the project name, and default features (dark theme) are enabled.

You'll be guided through an interactive setup:

⚡ create-kupola — Scaffold a Kupola project

? Project name: › my-kupola-app
? Backend framework: ›
  ❯ Static (HTML only) — No backend, pure static HTML + Kupola
    Static + TypeScript — TypeScript + Vite, type-safe Kupola project
    Next.js (SSR) — Next.js App Router + Kupola client hydration
    Nuxt (Hybrid) — Nuxt 3 + Kupola directives via ClientOnly
    Flask — Python Flask with Jinja2 templates
    FastAPI — Python FastAPI with Jinja2 templates
    Gin — Go Gin with html/template
? Optional features (space to toggle): ›
  ◼ Dark theme enabled
  ◻ Example pages

Templates

| Template | Backend | Stack | Start command | |----------|---------|-------|---------------| | static | — | HTML + Vite | npx vite | | static-ts | — | TypeScript + Vite | npx vite | | nextjs | Next.js | React + App Router + Kupola | npx next dev | | nuxt | Nuxt 3 | Vue + Kupola ClientOnly | npx nuxt dev | | flask | Python Flask | Jinja2 + Kupola | python app.py | | fastapi | Python FastAPI | Jinja2 + Kupola | uvicorn main:app --reload | | gin | Go Gin | html/template + Kupola | go run main.go |

All templates include:

  • Kupola 2.0 with 48+ tree-shakeable components
  • Declarative directives (k-data, k-on, k-show, k-bind, k-model, k-for)
  • Dark/light theme with anti-FOUC preload script
  • Responsive breakpoints (sm/md/lg/xl)
  • Interactive examples: Counter, Todo List, Form Binding, Reactive Computed
  • localStorage theme persistence

What gets created

my-kupola-app/
├── src/             # Source code (static-ts / nextjs)
│   ├── app/         # Next.js App Router (nextjs)
│   └── components/  # Kupola client components
├── pages/           # Vue pages (nuxt)
├── components/      # Vue + Kupola components (nuxt)
├── static/          # Kupola dist assets (Flask/FastAPI/Gin)
├── templates/       # HTML templates (Flask/FastAPI/Gin)
├── index.html       # Entry HTML (static)
├── package.json     # @kupola/core, @kupola/platform dependency
├── nuxt.config.ts   # Nuxt config (nuxt)
├── next.config.mjs  # Next.js config (nextjs)
├── app.py           # Flask entry (flask template)
├── main.py          # FastAPI entry (fastapi template)
├── main.go          # Gin entry (gin template)
└── vite.config.js   # Vite config (static/static-ts)

Manual setup

If you prefer not to use the CLI, you can install Kupola directly:

npm install @kupola/core @kupola/platform

Then import in your code:

// Core engine (Signal + template + SSR)
import { signal } from '@kupola/core';
import { html, render } from '@kupola/platform';

// Directive system (optional, for declarative HTML)
import { walk } from '@kupola/platform/directives';
walk(document.body);

For a JavaScript/TypeScript-owned Vite application, use the standard Vite entry and mount a Kupola root view with createApp:

import { createApp, defineComponent, html } from '@kupola/platform';
import '@kupola/platform/css';
import { Panel } from '@kupola/components/panel';

const AppRoot = defineComponent({
  setup() {
    return html`${Panel({ title: 'Application content' }, html`<p>Managed by Vite.</p>`)}`;
  },
});

await createApp(AppRoot).mountAsync('#app');

Install @kupola/components when using library components. No @kupola/platform/vite or @kupola/platform/plugins/vite import is required; the published platform package uses standard ESM and CSS entry points.

Requirements

  • Node.js >= 18.x
  • Python >= 3.8 (for Flask / FastAPI templates)
  • Go >= 1.18 (for Gin template)

License

MIT