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

testwithwords

v0.1.6

Published

AI-powered UI testing — describe the test in words, the AI does the rest

Readme

npm license

TestWithWords

Write tests in words. The AI runs them in the browser.

Turn plain-English test ideas into real browser runs, real screenshots, and real confidence.

🌐 testwithwords.com

🎬 Demo coming soon — imagine watching an AI drive your browser from just words!

TestWithWords is an AI-powered UI testing tool that feels a little bit like magic the first time you use it. You describe what should happen. The AI opens a real browser, clicks around, fills things in, verifies results, and gives you a report with screenshots. No brittle selectors. No giant Playwright file. No "welp, the button moved so the whole suite exploded."

Quick Start

npm i -g testwithwords
tww auth
tww run "Go to www.testwithwords.com and verify the heading says Write tests in words"

That's the whole hello-world.

Then peek inside the packaged examples/ folder and try files like examples/basic.test.tww, examples/form.test.tww, and examples/full-suite.test.tww.

See It In Action

Write a .tww file:

# cart.test.tww

describe "Shopping Cart"

  test "can add item to cart"
    Navigate to https://shop.example.com
    Search for "mechanical keyboard"
    Click on the first product
    Click "Add to Cart"
    Verify the cart badge shows "1"

Run it:

$ tww run cart.test.tww

  🧪 TestWithWords v0.1.6
  Chromium (standalone) · LLM: GitHub Models

 PASS  cart.test.tww
  Shopping Cart
    ✓ can add item to cart (8.4s)

 Tests:  1 passed, 0 failed
 Time:   8.4s
 📄 Report: results/report.html

That little .tww file is the test and the documentation. When the UI shifts around, the AI adapts to the page instead of hard-crashing on a stale selector.

Why You'll Love This

  • You can start fast — if you can describe the test, you can run the test.
  • You stop babysitting selectors — the AI finds things by understanding the page, not by clinging to fragile CSS paths.
  • You get evidence, not vibes — every run gives you screenshots and an HTML report.
  • You can use what already works — GitHub Models gets you started for free, and other OpenAI-compatible providers work too.
  • You can test real flows — forms, navigation, dashboards, internal tools, and multi-step browser tasks.
  • You can explore instead of guessing — the package ships with examples/ so you can open a file and instantly see the format.

Documentation

| Doc | What's inside | |-----|--------------| | Website | Overview, positioning, and launch-ready landing page | | Getting Started Guide | Full walkthrough from install to first passing test | | CLI Reference | Every command and flag with examples | | .tww File Format | How to write test files — describe, test, hooks, reusable flows | | Configuration | .twwrc.json settings reference | | Troubleshooting | Real error messages → real fixes | | Examples | Runnable .tww files you can copy, tweak, and learn from |

If you want the quick overview, start at testwithwords.com. If you want the deeper stuff, the docs are all here in the repo.

How It Works

.tww file → Parser → Runner → AI Agent → Browser → Results
                                  ↑
                               LLM API
                        (GitHub / OpenAI / Azure)

You write words. The parser turns them into test suites. The AI watches the page, decides the next action, uses Playwright to do it, and keeps going until the test passes or fails. Then you get a clean CLI summary plus a visual HTML report with screenshots.

Instafluff

TestWithWords is built by Instafluff, the same human behind ComfyJS.

ComfyJS has been free for years and still gets about 3.4 million requests a year on jsDelivr.

TestWithWords is the next one: a tool built to make something intimidating feel friendly, powerful, and SUPER EASILY usable.

If that kind of open source makes your day better, the best way to help is to sponsor the work.

Become a sponsor

Come hang out on Twitch

License

MIT