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

@withmantle/tracewright

v0.1.2

Published

A regression test automation agent for Playwright

Downloads

41

Readme

Tracewright

A regression test automation agent for Playwright

Mantle Share Class (16x speed)

  • Attempts to execute BDD-like (behavior-driven development) tasks for websites
  • Saves functional Playwright code, screenshots, and interactable HTML elements for each step
  • Provides Playwright locator hooks to help make LLM interactions be more efficient
  • Reenforcement loop for errors that occur during steps to encourage recovery

Installation

Within any Playwright project.

npm install @withmantle/tracewright

Usage

example.spec.ts

import test from "@playwright/test"
import tracewright from 'tracewright';

test("Youtube", async ({ page }) => {
  await page.goto("https://youtube.com");

  await tracewright(page, {
    script: `- Search for "boston dynamics do you love me"
- Open the second video
- Expand the video description
- Done`,
  });
});

Models

Authentication

VertexAI

gcloud auth application-default login
export GOOGLE_CLOUD_LOCATION=<location>
export GOOGLE_CLOUD_PROJECT=<name>

or Gemini Studio

export GEMINI_API_KEY=<api key>

Model Selection

The default is but this can be overridden with the GEMINI_MODEL environment variable.

ex.

export GEMINI_MODEL=gemini-2.5-pro

Why build this tool?

Workflow Empowerment - There are a lot of computer-use tools out there but we wanted something to plug directly into our workflow when working with Playwright. Specifically, the ability to use this agent within the Playwright test runner and alongside vanilla Playwright code has improved productivity.

Outputs for Agentic Flows - The output artifacts have a number of useful downstream use cases. Use cases like autogenerating Help Desk articles or generating Marketing videos are being explores. Really excited to hear what the community is coming up with, please share to inspire others!

Flexibility - Having the tool written in Typescript and support for Playwright mechanisms into the flow allows you to customize the experience to adjust the different nuances of all the websites out there. If the HTML parser or page waiting logic isn't working for you, you can adjust in realtime and hopefully submit a PR!

Contributing

Contributions are welcome! Please submit a PR or open an issue.

License

Apache 2.0

About Mantle

The team at Mantle is building modern solutions for managing private assets: from Cap Tables to Capital Calls. Mantle's equity management platform is a founder-friendly platform built from the ground-up to manage your startup's cap table. Our institutional LP solution unlocks real-time investment intelligence via automated, AI-powered workflows so LPs can make faster, data-driven decisions.