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

launch-stackwright

v0.2.11

Published

Launch a new Stackwright project with the otter raft ready to build

Readme

🚢 launch-stackwright

The fastest way to get started with Stackwright — launch a new project with the otter raft ready to build.

Quick Start

npx launch-stackwright my-awesome-site --otter-raft
cd my-awesome-site
pnpm dev

💡 Tip: The --otter-raft flag sets up everything including AI agents and installs all dependencies in one go. Prefer manual control? Just run without it: npx launch-stackwright my-site, then pnpm install separately.

What You Get

When you run launch-stackwright, you get:

  • ✅ A fully configured Next.js + Stackwright project
  • ✅ Theme configuration (stackwright.yml)
  • ✅ Example pages in YAML
  • The Otter Raft 🦦🦦🦦🦦 — AI agents ready to build your site

Using the Otter Raft

After launching your project, invoke the Foreman Otter to orchestrate your entire site build:

code-puppy invoke stackwright-foreman-otter

Then say: "Build me a [law firm / wellness startup / SaaS marketing] website"

The raft includes four specialized otters:

  • 🦦🏗️ Foreman Otter — Coordinates the entire build
  • 🦦🎨 Brand Otter — Discovers your brand through conversation
  • 🦦🌈 Theme Otter — Designs your visual theme
  • 🦦📄 Page Otter — Builds your content pages

CLI Options

launch-stackwright [directory] [options]

Options:
  --name <name>       Project name (used in package.json)
  --title <title>     Site title shown in app bar and browser tab
  --theme <themeId>   Theme ID (corporate, creative, minimal, etc.)
  --otter-raft        Setup the otter raft AI agents and install all dependencies
  --force             Launch even if directory is not empty
  --skip-otters       Skip copying otter raft configs
  -y, --yes           Skip all prompts, use defaults
  -V, --version       Output version number
  -h, --help          Display help

Examples

# One-command setup with otter raft (recommended)
npx launch-stackwright my-site --otter-raft

# Interactive mode (default)
npx launch-stackwright my-site

# Specify everything upfront
npx launch-stackwright my-site --name "my-awesome-app" --title "My Awesome Site" --theme corporate

# Quick start with defaults
npx launch-stackwright my-site --yes

# Skip otter setup (just scaffold the project)
npx launch-stackwright my-site --skip-otters

What Gets Created

my-awesome-site/
├── .code-puppy.json           # Code Puppy + MCP auto-config
├── .stackwright/
│   └── otters/                # The otter raft configs
│       ├── stackwright-foreman-otter.json
│       ├── stackwright-brand-otter.json
│       ├── stackwright-theme-otter.json
│       └── stackwright-page-otter.json
├── pages/
│   ├── content.yml            # Home page
│   ├── about/content.yml      # About page
│   ├── [...slug].tsx          # Dynamic page router
│   └── _app.tsx               # Next.js app wrapper
├── stackwright.yml            # Theme configuration
├── next.config.js             # Next.js config
├── package.json               # Dependencies
└── tsconfig.json              # TypeScript config

Next Steps

With --otter-raft

After launching, you're ready to go! Run:

pnpm dev

Without --otter-raft

You'll need to install dependencies first:

pnpm install
pnpm dev

Once the dev server is running, audit all pages for WCAG 2.1 AA accessibility compliance:

stackwright test:a11y

Requires playwright and @axe-core/playwright as dev dependencies (pnpm add -D playwright @axe-core/playwright, then pnpm exec playwright install chromium).

Stackwright CLI

Once inside your project, the stackwright CLI is available:

  • stackwright prebuild — Process YAML content and co-located images
  • stackwright test:a11y — Run a WCAG 2.1 AA accessibility audit against your running dev server
  • stackwright page add <slug> — Create a new page
  • stackwright preview [slug] — Render a page to a screenshot

Run stackwright --help to see all available commands.

Prerequisites

  • Node.js 18+ and pnpm
  • Code Puppy CLI (optional, for otter raft features)

Install Code Puppy:

npm install -g @peraspera/code-puppy

Learn More

License

MIT