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

cairn-dev

v0.1.1

Published

Run Cairn locally against any repo — no clone. `npx cairn-dev dev`.

Readme

cairn-dev — run Cairn locally, no clone

export GOOGLE_GENERATIVE_AI_API_KEY=AIza...   # your Gemini key
npx cairn-dev dev --target http://localhost:3000

Maps your repo's user flows, generates Playwright tests, and runs them against your local dev server — no GitHub, no login, no cloud. Opens a local dashboard at http://localhost:3000/local.

What it does

npx cairn-dev dev pulls the published cairn-web + cairn-worker images and runs the whole stack with Docker Compose:

  • Postgres (a throwaway DB), schema applied + local repo seeded automatically
  • worker (the runner) + a keyless inngest dev server
  • web (the dashboard) on --port

Your repo is bind-mounted in (so Cairn reads its source), and your app under test — running on the host — is reached via host.docker.internal.

Options

| Flag | Meaning | Default | | ---------- | ------------------------------- | ----------------------- | | --path | the repo to map | current directory | | --target | your running dev server to test | http://localhost:3000 | | --port | the local dashboard port | 3000 |

Requirements

  • Docker running (Docker Desktop or an engine).
  • Node 18+ (for npx).
  • A Gemini key for mapping + test generation — supply it any of three ways: --google-key AIza…, the GOOGLE_GENERATIVE_AI_API_KEY env var, or a .env / .env.local file in the folder you run it from. Only that one key is read from .env — your other variables are ignored, never logged, and never passed to the containers or the model.
  • Your app running on the --target port.

Ctrl+C stops the whole stack.

Contributors working inside a Cairn checkout can instead use pnpm cairn dev (runs from source, no images). This package is the no-clone path for everyone else.