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

@m64/browser-tools

v1.0.4

Published

Minimal CDP tools for collaborative site exploration

Readme

browser-tools

Browser automation helpers for Pi using the Chrome DevTools Protocol.

This skill provides small scripts for starting a browser, navigating pages, evaluating JavaScript, taking screenshots, inspecting cookies, extracting content, and interactively picking elements.

Originally created by Mario Zechner. Linux support, npm packaging, and publication by m64.

Files

  • SKILL.md — skill instructions for the agent
  • browser-start.js — start Chrome/Chromium with remote debugging on :9222
  • browser-nav.js — navigate the active tab or open a new tab
  • browser-eval.js — run JavaScript in the active tab
  • browser-screenshot.js — capture a screenshot of the current page
  • browser-pick.js — interactive DOM element picker
  • browser-cookies.js — inspect cookies for the current tab
  • browser-content.js — extract readable page content as markdown

Install

Install as a Pi skill package

From npm:

pi install npm:@m64/browser-tools

From a local checkout:

pi install /absolute/path/to/browser-tools
# or
pi install ./browser-tools

This package now declares itself as a Pi package in package.json via the pi manifest and the pi-package keyword, so Pi can discover and load the browser-tools skill automatically.

Install the standalone CLI tools

If you only want the command-line tools outside Pi:

npm install -g @m64/browser-tools

From source:

cd /path/to/browser-tools
npm install

Usage

Start a browser:

browser-start
# or from source:
./browser-start.js

Navigate:

browser-nav https://example.com
# or from source:
./browser-nav.js https://example.com

Evaluate JavaScript:

browser-eval '({title: document.title, url: location.href})'
# or from source:
./browser-eval.js '({title: document.title, url: location.href})'

Linux support

browser-start.js supports Linux and macOS.

Behavior on Linux:

  • auto-detects google-chrome, google-chrome-stable, chromium, and Snap Chromium
  • uses headless mode automatically when no desktop display is available
  • supports overriding the browser path with CHROME_BIN

For Snap Chromium, the browser profile directory must live in the Snap-managed area, so the script uses:

~/snap/chromium/common/browser-tools

For non-Snap browsers, it uses:

~/.cache/browser-tools

Notes

  • Remote debugging port: 9222
  • --profile support in browser-start.js is currently macOS-only
  • The npm package exposes CLI binaries like browser-start, browser-nav, and browser-eval