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

kat-stack

v0.1.0

Published

CLI tool for generating and managing full-stack TypeScript monorepos

Readme

Kat-Stack CLI

A command-line interface tool for generating and managing full-stack TypeScript monorepos with an opinionated stack based on Next.js, Hono, and Turborepo.

Installation

npm install -g kat-stack
# or
pnpm add -g kat-stack
# or
bun install -g kat-stack

Or use with npx (no installation required):

npx kat-stack init

Quick Start

Initialize a New Project

kat-stack init

This will prompt you for:

  • Project name
  • Backend service names (one or more)
  • Whether to include a database with each service
  • Frontend application names (one or more)

Add a New Service

After initializing a project, you can add additional services:

# Add a backend service
kat-stack add backend

# Add a frontend app
kat-stack add frontend

Commands

kat-stack init

Creates a new Kat-Stack monorepo with:

  • Turborepo structure
  • Backend service(s) with Hono, TypeScript, and optional SQLite database
  • Frontend app(s) with Next.js 15 App Router and Tailwind CSS
  • Shared packages (eslint-config, typescript-config, ui)
  • Pre-configured authentication with better-auth
  • Cursor rules for consistent code conventions

kat-stack add <type>

Adds a new service or app to an existing Kat-Stack monorepo.

  • kat-stack add backend - Adds a new backend service
  • kat-stack add frontend - Adds a new frontend application

Project Structure

your-project/
├── apps/
│   ├── web/          # Frontend applications
│   └── admin/
├── services/
│   ├── api/          # Backend services
│   └── auth-service/
├── packages/
│   ├── eslint-config/
│   ├── typescript-config/
│   └── ui/
├── turbo.json
├── package.json
└── tsconfig.json

Features

  • Opinionated Stack: Fixed, high-quality stack based on proven patterns
  • Type Safety: Full TypeScript support with strict mode
  • Monorepo: Turborepo for efficient builds and development
  • Authentication: Pre-configured with better-auth
  • Database: SQLite with Drizzle ORM (optional per service)
  • UI Components: Shadcn UI components pre-configured
  • Cursor Rules: Auto-generated rules for consistent code style
  • Package Manager Support: Automatically detects and uses npm, pnpm, or bun

Requirements

  • Node.js >= 18
  • npm, pnpm, or bun

Development

To contribute to Kat-Stack CLI:

cd packages/kat-stack-cli
pnpm install
pnpm dev

Extracting Templates

To update the templates from the base project:

cd packages/kat-stack-cli
pnpm extract-templates

Publishing

To publish a new version:

cd packages/kat-stack-cli
pnpm build
npm publish

License

MIT