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

testpilot-qa

v0.1.0-alpha.2

Published

Local-first Playwright quality toolkit: static locator analysis, quality scoring, brownfield baselines, SARIF/HTML reports, safe mechanical fixes, diagnostics, and AI-agent guidance.

Downloads

302

Readme

testpilot-qa

A local-first Playwright quality toolkit — static locator analysis, quality scoring, brownfield baselines, SARIF/HTML reports, safe narrow mechanical fixes, setup diagnostics, and AI-agent guidance.

Public alpha. Deterministic and offline: no network, no API key, no LLM calls. Everything it generates is ejectable plain Playwright — zero lock-in.

TestPilot QA is not a Playwright replacement, a general AI testing platform, an AI test generator, a self-healing locator tool, a hosted dashboard, an MCP server, or a broad auto-fix tool.

Try it in 2 minutes

# New project: scaffold, then open a locator-quality report in your browser
npx testpilot-qa@alpha init demo --yes
cd demo
npx testpilot-qa@alpha analyze tests --reporter html

Already have a Playwright project? analyze is read-only — just point it at your tests:

npx testpilot-qa@alpha analyze tests              # human table (add --json for CI)

# Adopting on an existing suite? Record a baseline, then gate CI on NEW findings only:
npx testpilot-qa@alpha analyze tests --baseline testpilot-baseline.json --update-baseline
npx testpilot-qa@alpha analyze tests --baseline testpilot-baseline.json

Commands

| Command | What it does | |---|---| | init | Scaffold a TypeScript Playwright project (UI + API examples + AI guidance files). | | run | Thin pass-through to your local Playwright — not a custom runner. | | analyze | Statically score locator quality and flag fragile patterns. Reports as table / JSON / SARIF / HTML. | | fix | Apply safe, behavior-preserving locator rewrites. Dry-run by default; --write to apply. | | add ai | Regenerate the AI agent guidance files. Dry-run by default. | | doctor | Diagnose project readiness, setup problems, and AI-guidance drift. | | explain | Explain a rule: why it matters, with bad/good examples. |

fix makes only safe, mechanical rewrites (today: page.locator('text=Foo')page.getByText('Foo')), never edits application code, never inspects the DOM, and makes no LLM calls. It is not broad auto-fix.

Locator Quality Score

Every analyze run computes a deterministic 0–100 score (graded A–F). Gate CI with --min-score <n>. The scoring model is fully documented (formula, weights, worked examples) in the repo.

Docs & source

Full documentation, the scoring model, the GitHub Action, and the design docs live in the repository: https://github.com/faisal1024/testpilot-qa

This is an alpha — published under the npm alpha dist-tag. Install a pinned alpha with npm i -D testpilot-qa@alpha, or just use npx testpilot-qa@alpha.

License

MIT © Faisal Islam