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

@rockorbust/playwright-plugin

v0.4.2

Published

Stealth proxy and fingerprint patching plugin for Playwright

Readme

@rockorbust/playwright-plugin

The transparent stealth layer for all Playwright browsers.

This package provides a drop-in stealth wrapper for Playwright's chromium, firefox, and webkit objects. It automatically handles residential proxy routing and advanced browser-specific fingerprint spoofing.

Features

  • Multi-Browser Support: Drop-in replacement for chromium, firefox, and webkit.
  • P2P Mesh-Flow Architecture: Establishes direct WebRTC DataChannel connections to residential nodes, significantly reducing proxy latency and offloading gateway traffic.
  • Advanced Fingerprint Deception: Deep prototype faking (PluginArray, MimeTypeArray) to defeat sophisticated instanceof detector checks.
  • Native Browser Masking: Injects standard Windows User-Agent/Client Hints, strips HeadlessChrome signatures, and removes webdriver natively via Chromium C++ flags.
  • Zero Configuration: Automatically picks up your ROB_KEY from environment variables.
  • Smart Fallback: Automatically falls back to Gateway WebSocket tunneling if P2P negotiation fails (e.g., behind symmetric NATs).

Installation

npm install @rockorbust/playwright-plugin playwright

Usage

Basic Setup

Simply replace your playwright import with @rockorbust/playwright-plugin.

import { chromium } from '@rockorbust/playwright-plugin';
// Use standard playwright types if needed
import type { Browser, Page } from 'playwright';

async function main() {
  // The plugin automatically injects stealth scripts and proxy settings
  const browser: Browser = await chromium.launch({
    rockorbust: {
      key: 'rob_your_key_here', // Or use process.env.ROB_KEY
      stealth: true             // Optional: defaults to true
    }
  });

  const context = await browser.newContext();
  const page: Page = await context.newPage();

  await page.goto('https://bot.sannysoft.com');
  // Observe your residential IP and "Green" stealth results
}

main();

Configuration Options

The chromium.launch method accepts a rockorbust configuration object:

| Option | Type | Description | | :--- | :--- | :--- | | key | string | Your RockOrBust access key (required if ROB_KEY env var is missing). | | gatewayUrl | string | Custom gateway URL (defaults to https://robapi.buildshot.xyz). | | fallbackToLocal | boolean | If true, bypasses the proxy entirely if no residential nodes are available. | | stealth | boolean | Enable/disable automatic stealth script injection (defaults to true). |

Why RockOrBust?

Modern anti-bot solutions (Cloudflare, Akamai, Datadome) use a combination of IP reputation and browser fingerprinting to block automation.

  1. IP Reputation: We solve this by routing through real home connections (Residential Nodes) rather than flagged datacenter IPs.
  2. Fingerprinting: We solve this by injecting custom stealth scripts before the first line of any page code executes, masking common automation signals.

MIT © BuildShot