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

@kywi-software/cli

v0.6.0

Published

Kywi CMS command-line tool — migrate, seed, and generate schema from a kywi.config.ts project.

Readme

@kywi-software/cli

The kywi command-line tool: applies the schema described by a project's kywi.config.ts to its database, and seeds default/demo content. Built on @kywi-software/core's schema generator and Drizzle. See the root README for how it fits into the rest of Kywi.

Install

npm install @kywi-software/cli

Projects scaffolded with npx create-kywi-app already have it as a dependency and wire migrate/seed into their package.json scripts.

Commands

Run from a project directory containing kywi.config.ts (or point -c/--config at a different path):

kywi migrate --push        # apply the schema (drizzle-kit push — no migration files, good for prototyping)
kywi migrate               # apply the schema via generated Drizzle migration files
kywi migrate:generate      # generate Drizzle schema files from kywi.config.ts (writes to build/schema/)
kywi migrate:status        # show pending Drizzle migrations
kywi seed                  # create the default site + a superadmin user
kywi seed:demo             # seed realistic demo content (pages, posts, event, contact form, taxonomy, media, feed)

Every command accepts -c, --config <path> (default kywi.config.ts).

DATABASE_URL (or the db.url in kywi.config.ts) selects the target database; kywi.config.ts itself is loaded dynamically at runtime (that's why tsx is a runtime dependency of this package — the CLI's own code is plain compiled JS, but the config file it reads lives in your project as TypeScript).

What's in the package

packages/cli/src/index.ts registers each command (packages/cli/src/commands/*.ts) on a commander program named kywi. That file is the source of truth for exact flags and behavior.