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

@eighty4/plunder

v0.0.8

Published

Webpage QA tooling powered by Playwright

Readme

Plunder - QA for webpages

Playwright automates browsers using really nifty APIs built into web browsers.

This program builds on that to automate tasks for QA testing webpages. Thanks to Playwright, it works across all major browsers and operating systems.

Getting started

The Plunder CLI is published to npm as @eighty4/plunder and its API is published as @eighty4/plunder-core.

# run directly from npm
npx @eighty4/plunder -h

# install globally and run
npm i -g @eighty4/plunder@latest
plunder -h

CSS media query QA

Pludering webpages with --css-breakpoints will use LightningCSS to capture screenshots on a CSS breakpoint and 1px outside of a CSS breakpoint.

plunder --css-breakpoints --out-dir www_qa https://alistapart.com

Let's go back to the LightningCSS website again and appreciate those neon light effects!

Device emulation QA

Plunder takes screenshots of a webpage as they would look on phones, tablets or varying pixel density desktops.

Testing across modern devices

Capture screenshots emulating a curated selection of modern phones and tablets with --modern-devices:

plunder --modern-devices --out-dir www_qa https://alistapart.com

Selecting devices with --device queries

Device presets are available that can be added with --device or -d. This flag is a search param, so -d ipad will match all modern iPad devices.

# emulate ipad and iphone devices
plunder --device ipad --device iphone --out-dir www_qa  https://alistapart.com

# emulate high pixel density
plunder --device hidpi --out-dir www_qa https://alistapart.com

Listing devices

# list modern devices used with --modern-devices flag
plunder devices

# see result of an explicit device query
plunder -d hidpi devices

# see exhustive list of queryable devices
plunder -a devices

Webpage liveness and healthcheck QA

Checking a webpage's anchor tags

plunder links https://alistapart.com

Contributing

pnpm and Node 23 are required for development.

Plunder embraces Node's experimental type stripping support and Node will emit warnings about TypeScript when running unit tests.

Until Node finalizes type stripping support, CLI users will receive warnings from Node if their --capture-hook script is a TypeScript file. Hopefully the next LTS release of Node will remove the warnings!

Build and run CLI

pnpm i
pnpm --filter \!@eighty4/plunder-webapp build
node cli/lib/plunder.js -h

Webapp development

Plunder out directories will have a web report written to the out directory's root. The web report is built with React and Vite and distributed with the CLI package @eighty4/plunder.

The webapp package's README.md has details on running the Vite app.

CICD checks

The ci_verify.sh script runs through all the CICD checks done on GitHub Actions:

./ci_verify.sh

The script has flags to symlink the ci_verify.sh as git hooks.

./ci_verify.sh --on-git-commit
./ci_verify.sh --on-git-push