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

ccqa

v1.1.1

Published

Browser test recorder powered by Claude Code and agent-browser

Downloads

55,903

Readme

ccqa

Your Claude subscription already includes a QA engineer.

ccqa turns Claude Code into a browser test recorder and runner:

  1. Write a test spec in YAML — plain steps and expected results.
  2. Claude drives a real browser once to discover the route (ccqa record).
  3. ccqa compiles the recording into runnable test code for your target: — vitest replay, plain Playwright, or a runn runbook.
  4. ccqa run replays everything into one report you can push to a shared hub.

No extra API key. Just claude.

日本語版 README

How it works

spec.yaml ──► ccqa record ─────► ir.json ────► ccqa generate ──► test code
 steps +       Claude drives      recorded       per-target        agent-browser
 expected      the browser and    actions as     emit              / playwright
 results       discovers the      tool-neutral   (reuse-first)     / runn
               route              IR

test code ──► ccqa run ────────► report.json ─► ccqa hub push /
               vitest replay /    + evidence      --push-report
               runCommand /       + artifacts     team dashboard,
               live (Claude                       failure triage,
               drives per step)                   grading & learning

A spec runs in one of two ways:

Deterministic (the default). Claude drives the browser once (ccqa record), and the recording is compiled into plain test code. From then on, CI just replays that code — no LLM at run time, cheapest and most stable. The target: field picks only what the recording compiles into; every target is the same deterministic replay:

| target: | Generated file | Replayed by | |---|---|---| | agent-browser (default) | test.spec.ts (vitest + agent-browser) | vitest | | playwright | test.spec.ts (plain @playwright/test) | your runCommand | | runn | runbook.yaml (API scenario — compiled from the spec, no recording) | your runCommand |

runCommand is the one-line command your repo already uses to run that tool, declared once in .ccqa/config.yaml — e.g. pnpm exec playwright test {files}. ccqa substitutes the spec's generated test files for {files} and a per-spec artifacts directory for {artifactsDir}; see Generation targets for the full contract.

Live (mode: live). No codegen: Claude drives every run and judges each step's expected — for fragile, timing-heavy UIs where a fixed recording would break.

Either way, every failing spec gets a root-cause call (TEST_DRIFT / SPEC_CHANGE / PRODUCT_BUG) you can grade on the hub — and the hub learns from your grades.

Install

pnpm add -D ccqa vitest agent-browser

Requires Node.js 20+. agent-browser and vitest are peer dependencies.

Quick start

1. Write a spec — by hand, or interactively with ccqa draft. (ccqa init scaffolds the .ccqa/ skeleton.)

# .ccqa/features/tasks/test-cases/create-and-complete/spec.yaml
title: Create a task and mark it complete

steps:
  - instruction: |
      Open ${APP_URL}/login. Fill in email and password, submit the form.
    expected: Redirected to /dashboard, user avatar visible in the header

  - instruction: |
      Click "New Task", fill in the title "Fix login bug", save.
    expected: Task appears in the task list with status "Open"

2. Record once — Claude drives the browser and generates the test:

ccqa record tasks/create-and-complete

3. Run it — vitest replays the recording; no LLM involved:

ccqa run tasks/create-and-complete

A report.json (+ step screenshots) is always written to ccqa-report/. See Running specs for flags, CI recipes, and the report format.

4. Optional: share results on a hubccqa serve starts a small self-hosted server (or use the bundled docker-compose.yaml). Pushing reports to it gives your team:

  • a dashboard of runs, with per-step screenshots
  • a browsable inventory of what is tested (perspectives), kept fresh automatically by record/generate
  • triage grading — mark each failure call right or wrong; the hub learns from the grades
  • one place for shared sessions, variables, and learned prompts — CI needs a single secret
export CCQA_HUB_TOKEN=$(openssl rand -hex 24)
ccqa serve                                  # or: docker compose up -d
ccqa run tasks/create-and-complete --push-report \
  --hub-url http://localhost:8787 --hub-token $CCQA_HUB_TOKEN

See Hub for the full setup (encryption, container deployment, HTTP API).

Documentation

| I want to… | Read | |---|---| | Write specs: fields, reusable blocks, file uploads, coverage inventory | spec.yaml reference | | Draft specs interactively with Claude | Draft | | Generate Playwright or runn tests that reuse my existing test code | Generation targets | | Run specs, read reports, triage failures, detect drift, wire up CI | Running specs | | Run specs live (no codegen), with per-project guidance | Live specs | | Start runs already signed in / skip device-trust gates | Saved sessions | | See which assertions generated tests use | Assertions | | Auto-fix failing recorded tests | Auto-fix | | Aggregate results, sessions, and variables on a team server | Hub | | Script the hub over HTTP | Hub API | | Understand why ccqa is built this way | ADR |

License

MIT