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

@y11i-3d/chrome-recording

v1.0.0

Published

CLI for recording Windows Chrome content from WSL, using ffmpeg's ddagrab.

Readme

chrome-recording

npm version Build

CLI for recording Windows Chrome content from WSL, using ffmpeg's ddagrab.

Prerequisites

  • WSL (Windows Subsystem for Linux)
  • Chrome running on Windows
  • ffmpeg.exe available in PATH (Windows-side)
  • powershell.exe available in PATH (Windows-side)
  • wslpath available in PATH

Installation

npm install -g @y11i-3d/chrome-recording

Or run directly with npx:

npx @y11i-3d/chrome-recording <subcommand> [options]

After installation, a PowerShell script (get_chrome_info.ps1) is automatically copied to %LOCALAPPDATA%\y11i-3d\chrome-recording\ on Windows. This script is required by the record command.

Subcommands

| Subcommand | Description | | ---------- | ------------------------------------------------------- | | record | Capture Chrome browser content as a video or screenshot | | concat | Concatenate recorded mp4 files into one |

record

Capture the Chrome content area using ffmpeg's ddagrab.

chrome-recording record [options]

By default, recording starts immediately and stops when you press Enter. The output is saved to ./recordings/<timestamp>.mp4.

| Option | Description | | ------------------------------------ | --------------------------------------------------------------------------------------- | | -s, --screenshot | Take a screenshot instead of recording a video | | -o, --output <file> | Output file path | | -c, --crop <top:right:bottom:left> | Crop in CSS shorthand order (px) | | -m, --manual | Wait for Enter before starting capture | | -d, --duration <seconds> | Stop recording automatically after N seconds | | -q, --quality <value> | Quality: plain number for CRF (e.g. 23), number+unit for bitrate (e.g. 4000k, 4M) | | -f, --fps <fps> | Frame rate | | -v, --verbose | Show ffmpeg output |

Examples

# Record until Enter is pressed
chrome-recording record

# Take a screenshot
chrome-recording record -s

# Record for 10 seconds at CRF 18
chrome-recording record -d 10 -q 18

# Record with manual start and crop
chrome-recording record -m -c 40:0:0:0

# Record to a specific file at 4 Mbps
chrome-recording record -o output.mp4 -q 4M

concat

Concatenate all mp4 files in a directory into a single file (stream copy, no re-encode).

chrome-recording concat [options]

Files named concat_*.mp4 are excluded. Input files are sorted alphabetically.

| Option | Description | | --------------------- | ------------------------------------------------------------ | | -i, --input <dir> | Input directory (default: ./recordings) | | -o, --output <file> | Output file path (default: <input>/concat_<timestamp>.mp4) | | -v, --verbose | Show ffmpeg output |

Examples

# Concatenate all recordings in ./recordings
chrome-recording concat

# Concatenate from a specific directory
chrome-recording concat -i ./clips -o final.mp4