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

igrlk-vt-playwright

v0.1.0

Published

Playwright capture SDK for visual-testing (uiverify.ai): swap @playwright/test for this and each test archives its final UI state (serialized DOM + resource bytes) to be replayed + visually diffed by the control plane. Produces an archive the vt CLI uploa

Readme

igrlk-vt-playwright

Playwright capture SDK for visual-testing (uiverify.ai) — the Storybook-independent front door.

Swap one import in your Playwright specs and every test also becomes a visual-regression test: the SDK archives each test's final UI state (the serialized DOM via rrweb plus the bytes of every resource the page loaded), and the control plane replays that archive hermetically and pixel-diffs it — with the same AI intended-vs-regression review as the Storybook path. No Storybook required.

// before
import { test, expect } from "@playwright/test";
// after
import { test, expect } from "igrlk-vt-playwright";

That's it — each test auto-archives its final state. To capture intermediate/named states:

import { test, expect } from "igrlk-vt-playwright";

test("checkout flow", async ({ page, vt }) => {
  await page.goto("/cart");
  await vt.snapshot("cart");
  await page.click("#checkout");
  await expect(page.locator("#confirm")).toBeVisible();
  // final state auto-archived at test end
});

Then assemble the upload bundle and upload it with the vt CLI:

playwright test                    # archives land in vt-archive/ (VT_ARCHIVE_DIR)
node -e "require('igrlk-vt-playwright/finalize').finalizeArchive('vt-archive')"
vt upload --static-dir vt-archive  # (see the vt CLI)

How it works

Capture is deliberately cheap and single-browser — it just serializes the DOM (scripts stripped, so the app's JS never re-runs on replay) and buffers resource bytes. All the fidelity work (determinism, cross-browser, the diff, the AI review) happens on the control plane, off the archive. This package talks to nothing at runtime; it only writes an archive directory the CLI uploads.

Notes

  • Peer dependency: @playwright/test (>= 1.40).
  • Load the assertions you'll snapshot. Below-the-fold lazy images / content must be loaded (e.g. scroll) before the snapshot, or they replay blank — the same discipline Chromatic asks for.
  • Animations: CSS animations freeze on replay; JS/requestAnimationFrame-driven animation is captured at whatever frame is on screen, so pause it (or use prefers-reduced-motion) at the snapshot point for stable diffs.
  • The published package name is provisional (igrlk-vt-playwright, matching igrlk-vtcli).