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

@dbalabka/chrome-wsl

v0.5.1

Published

WSL helper to start Windows Chrome with remote debugging and socat port forwarding.

Readme

Chrome Start From WSL Helper for MCP

A lightweight shell script that automates Chrome DevTools MCP setup from WSL by launching Windows Chrome with remote debugging enabled and transparently proxying traffic from WSL using socat.

No Linux Chrome, no gWSL, no manual Windows networking setup.

What It Does

  • 🤖 Automatically bridges WSL → Windows Chrome DevTools (9222) using socat
  • ✅ Validates required Windows portproxy and firewall rules
  • 🚀 Launches existing Windows Chrome with remote debugging and a temporary profile
  • 🧹 Cleans up easily with a stop command and leaves no permanent system changes

Key Features

  • Fully automated: one command to get Chrome DevTools MCP working from WSL
  • Lightweight: simple, readable shell script
  • Uses your existing Windows Chrome — no Linux Chrome or gWSL required
  • Clean & reversible: minimal system changes, easy to uninstall

Prerequisites

  • Windows Chrome already installed
  • WSL environment
  • The script will install one small dependency (socat) automatically for port proxying

Usage

with NPX

npx @dbalabka/chrome-wsl
  • If portproxy/firewall entries are missing, run the printed admin PowerShell commands on Windows, then rerun the script.
  • The script logs socat output to /tmp/socat-9222.log.
  • To stop the socat forwarder:
 npx @dbalabka/chrome-wsl --stop
  • To uninstall (prompts before removing the firewall rule and socat):
 npx @dbalabka/chrome-wsl --uninstall
  • Runs directly via npm without cloning; default entrypoint is chrome-wsl (matching the package name).

ℹ️️ Note: Must be run from WSL. Docker is supported only for proxying (no Chrome launch).

Example

❯ npx @dbalabka/chrome-wsl
✅ Detected Windows host IP: 172.18.112.1
✅ Portproxy 172.18.112.1:9222 -> 127.0.0.1:9222 is configured.
✅ Firewall rule "Chrome Remote Debug" exists.
✅ socat is already installed.
✅ Started socat (logging to /tmp/socat-9222.log).
✅ Launched Chrome (pid 32408) with remote debugging.
✅ Chrome is listening on port 9222.
❯ npx @dbalabka/chrome-wsl --stop
✅ Stopped tracked Chrome process (pid 32408).
✅ Stopped socat forwarding for port 9222.

with NPM

To install globally instead of npx:

npm install -g @dbalabka/chrome-wsl

Then run:

chrome-wsl
chrome-wsl --stop
chrome-wsl --uninstall

Docker

chrome-wsl can also take care of starting a proxy inside the Docker container and allow to access the MCP server from localhost. It helps to use the same Chrome DevTools MCP configuration for agents running inside the docker container as well as outside.

npx @dbalabka/chrome-wsl --container=<name>
npx @dbalabka/chrome-wsl --stop --container=<name>
npx @dbalabka/chrome-wsl --uninstall --container=<name>

Chrome DevTools MCP configuration for agents

To use Windows Chrome with any agent running in WSL you have to cofigure the DevTools to connect to --browser-url=http://127.0.0.1:9222.

Codex

[mcp_servers.chome-devtools]
command = "npx"
args = ["-y", "chrome-devtools-mcp@latest", "--browser-url=http://127.0.0.1:9222"]
startup_timeout_sec = 20.0

To run Codex inside the container and use the same MCP configuration and authorisation token, mount the Codex configuration folder inside the docker container using the following docker composer settings:

services:
    app:
        volumes:
            - ~/.codex:/home/vscode/.codex

License

MIT License. See LICENSE for details.