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

@jfenc91/reenact

v0.1.0

Published

Create videos of web UI navigation from YAML scripts

Readme

License: MIT

reenact

Create videos of human-like web UI navigation from YAML scripts.

Website

Install

npm install -g reenact

Chromium is downloaded automatically on install (~200MB). If needed, run manually:

npx playwright install chromium

Quick start

Create demo.yaml:

url: https://example.com
steps:
  - wait: 1s
  - click: "h1"
  - scroll: down
  - wait: 2s

Run it:

reenact demo.yaml -o demo.webm

Action reference

| Action | Usage | Description | |---|---|---| | click | - click: "#btn" | Smooth mouse move to element, then click | | type | - type: with selector, text, wpm | Type character by character at natural speed (default 70 wpm) | | hover | - hover: ".menu" | Move cursor over an element without clicking | | scroll | - scroll: down | Smooth scroll; accepts direction and amount (px) | | wait | - wait: 2s or - wait: "#el" | Pause for a duration or wait for a selector | | wait_for | - wait_for: with selector, state, timeout | Wait for element state: visible, attached, hidden, detached | | navigate / goto | - navigate: https://example.com | Navigate to a URL | | key / press | - key: Enter | Press a key or combo (Control+A) | | fill | - fill: with selector, text | Instantly fill a field (non-humanized) | | select | - select: with selector, value | Choose a <select> dropdown value | | clear | - clear: "#input" | Clear an input field | | screenshot | - screenshot: out.png | Capture a screenshot mid-recording | | back | - back | Go back in browser history | | forward | - forward | Go forward in browser history | | reload | - reload | Reload the page | | move_to | - move_to: with x, y, duration | Move cursor to coordinates with bezier motion |

Script options

Top-level YAML keys that configure the recording environment.

| Key | Default | Description | |---|---|---| | url | -- | Starting URL before steps begin | | viewport.width | 1920 | Browser viewport width in pixels | | viewport.height | 1080 | Browser viewport height in pixels | | color_scheme | no-preference | light, dark, or no-preference | | locale | en-US | Browser locale string | | user_agent | Chromium default | Custom user-agent string | | ignore_https_errors | false | Skip TLS certificate validation |

CLI flags

| Flag | Description | |---|---| | -o, --output <path> | Output video path (default: <script>.webm) | | --headed | Show the browser window while recording | | --slow-mo <ms> | Add extra delay to every Playwright action |

Use with Claude Code skills

You can use reenact inside a Claude Code skill to automatically record and share UI demos. For example, a PR review skill that records the changes and posts the video as a comment.

Create a .reenact/demo.yaml in your repo to define a demo script:

url: http://localhost:3000
viewport:
  width: 1280
  height: 720
steps:
  - wait: 1s
  - click: ".new-feature-button"
  - wait: 2s
  - scroll: down

Then in your skill, run:

reenact .reenact/demo.yaml -o demo.mp4
gh pr comment $PR_NUMBER --body "## Demo

$(cat <<'BODY'
Here is a recording of the changes:
BODY
)"

See examples/skills/pr-demo.md for a full PR demo skill.

License

MIT