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

@korajs/cli

v0.4.0

Published

Kora.js CLI tooling and project scaffolding

Readme

@korajs/cli

CLI tooling for Kora.js. Scaffold new apps, run the development server, manage schema migrations, and generate TypeScript types.

Install

pnpm add -g @korajs/cli

Or use directly with npx:

npx create-kora-app my-app

Commands

create-kora-app

Scaffold a new Kora.js project:

npx create-kora-app my-app

# Interactive prompts:
#   Select a template: React (basic) | React (with sync)
#   Package manager: pnpm | npm | yarn | bun

kora dev

Start the development environment:

kora dev

This runs:

  • Vite dev server for your application
  • Kora sync server (if configured)
  • Schema file watcher with auto type generation
  • Embedded DevTools (toggle with Ctrl+Shift+K)

kora migrate

Detect schema changes and generate migrations:

kora migrate
# Detects changes, generates migration file, prompts to apply

kora deploy

Deploy your Kora app to a cloud platform with a single command:

kora deploy

Supported platforms: Fly.io, Railway (Render, Docker, Kora Cloud coming soon).

Options

| Flag | Description | |------|-------------| | --platform | Target platform: fly, railway, render, docker, kora-cloud | | --app | Application name on the platform | | --region | Deployment region (e.g., iad, lhr, syd) | | --prod | Deploy to production environment (default: preview) | | --confirm | Non-interactive mode — fail fast if required data is missing | | --reset | Delete .kora/deploy/ state and generated artifacts |

Subcommands

kora deploy status      # Show deployment health, URLs, and metadata
kora deploy logs        # View recent deployment logs
kora deploy rollback    # Revert to the previous deployment

Non-interactive (CI/CD)

kora deploy --platform=fly --app=my-app --region=iad --confirm

What it does

  1. Generates a Dockerfile and .dockerignore in .kora/deploy/
  2. Bundles your server entry (server.ts) with esbuild into a single file
  3. Builds your client with Vite
  4. Generates platform config (fly.toml or railway.json)
  5. Provisions the app on the platform (creates it if new)
  6. Deploys and returns your live URL and sync WebSocket endpoint

Prerequisites

  • Fly.io: Install flyctl and run fly auth login
  • Railway: Install @railway/cli and run railway login

kora generate types

Generate TypeScript types from your schema:

kora generate types
# Output: kora/generated/types.ts

Quick Start

npx create-kora-app my-app
cd my-app
pnpm dev

You'll have a working offline-first app in under 2 minutes.

License

MIT

See the full documentation for guides, API reference, and examples.