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

pi-webwright

v0.1.0

Published

Pi package that ports Microsoft's Webwright code-as-action browser automation skill and slash commands.

Readme

pi-webwright

A small Pi package that ports Microsoft's Webwright skill into Pi.

Webwright treats browser automation as code-as-action: Pi writes and debugs Playwright scripts in a local workspace, then finishes only after a fresh rerun leaves auditable artifacts (plan.md, final_script.py, logs, and screenshots).

Install

From npm:

pi install npm:pi-webwright

From this checkout:

pi install /Users/mal/projects/pi-webwright

Or use it temporarily for one Pi session:

pi -e /Users/mal/projects/pi-webwright

Runtime prerequisites

Install Python Playwright and Firefox in the environment Pi uses for bash commands:

python3 -m pip install playwright
python3 -m playwright install firefox

Commands

  • /webwright — show help and setup notes.
  • /webwright:run <task> — solve a concrete browser task and leave a one-shot final_script.py.
  • /webwright:craft <task> — create a parameterized reusable CLI script with argparse defaults from the task.
  • /skill:webwright <task> — invoke the skill directly via Pi's built-in skill command.

Example

/webwright:run Search Google Flights for flights from SEA to JFK on 2026-08-15 to 2026-08-20

Attribution, credits, and license

This package is MIT licensed. It includes adapted skill text and reference documentation from Microsoft's Webwright repository, also MIT licensed.

The Webwright-derived files are primarily under skills/webwright/ and were modified for Pi's tool names, setup instructions, and slash-command workflow. See THIRD_PARTY_NOTICES.md for the original Microsoft copyright and MIT license notice.

Webwright's README asks that users cite the repository when using Webwright in research or building on it:

@misc{webwright2026,
  title        = {Webwright: A terminal is all you need for web agents},
  author       = {Lu, Yadong and Xu, Lingrui and Huang, Chao and Awadallah, Ahmed},
  year         = {2026},
  howpublished = {\url{https://github.com/microsoft/Webwright}},
  note         = {GitHub repository}
}

Original Webwright credits: