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

create-tap-script

v1.0.1

Published

Scaffold a Tap v2 browser-automation plan in seconds. `npx create-tap-script <site>/<name>` generates a deterministic .plan.json that runs at zero LLM tokens in Claude Code, Cursor, and any MCP host.

Readme

create-tap-script

One command. One starter .plan.json. Ready to customize.

npx create-tap-script@latest github/issues "List issues for a repo"

Creates:

github/
├── issues.plan.json     # Tap v2 Plan starter
└── issues.README.md     # next-steps notes

Why

The friction model that won Stagehand 745K weekly downloads is "one command, ready to go." npx create-tap-script mirrors that for Tap v2. Stop hand-writing Plan documents — start with a working stub that already uses the user's authenticated browser session via credentials: "page-session".

Usage

npx create-tap-script@latest <site>/<name> ["description"] [options]

| Option | Default | Notes | |---|---|---| | --write | off | Scaffold a write-variant plan (adds act + key) | | --variant read\|write | read | Equivalent to --write | | --out DIR | cwd | Output directory | | --force | off | Overwrite existing files | | --help | — | Show usage |

What you get

A read-variant starter (the default):

{
  "id": { "site": "github", "name": "issues" },
  "description": "List issues for a repo",
  "args": {
    "someArg": {
      "type": "string",
      "required": true,
      "description": "Example argument referenced by the templated fetch URL."
    }
  },
  "requires": { "runtime": "extension" },
  "observe": [
    {
      "op": "fetch",
      "url": "https://api.github.example.com/{{ args.someArg }}",
      "method": "GET",
      "format": "json",
      "credentials": "page-session",
      "save": "$1"
    }
  ],
  "return": "$1.body"
}

Pass --write to scaffold a mutation tap with act + key (intent dedup) instead.

Spec & op set

The output is a bare Tap v2 Plan (@taprun/spec v1.0+) — the W3C Annotation envelope and op:exec from v0.x are gone. Plans use the closed 11-op union: fetch · nav · wait · input · extract · cookies · tap · if · foreach · parallel · eval. CEL handles all data shaping; there is no intent: "read"|"write" field — read vs write is encoded as the Plan discriminated union (presence of act + key).

See https://taprun.dev/spec/ for the full reference.

Have an existing script?

Use one of the dedicated adapters instead:

(Stagehand is cloud-coupled and is not supported in v2 — see ADR 2026-05-04 §6.2.)

Part of the Tap ecosystem

Tap is local-first browser automation — compile your scraper once, run it in your own browser forever, and diff the drift when sites change.

License

MIT.