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

commerce-buddy-amazon-review-watch

v1.0.1

Published

Commerce Buddy - Amazon Review Watch CLI with anti-detection

Readme

Commerce Buddy - Amazon Review Watch

Advanced Amazon product review scraper with P0+P1 anti-detection protection.

Features

  • P0 Protection - WebDriver hiding, Chrome API spoofing, Playwright signature removal
  • P1 Protection - Canvas, WebGL, Audio fingerprinting evasion
  • Human Behavior - Natural mouse movement, typing, scrolling
  • Session Management - Persistent login, automatic session recovery
  • Smart Scraping - Ad filtering, retry logic, data validation

Installation

npm install -g @openclaw/commerce-buddy

Quick Start

# Verify anti-detection (100% pass rate)
commerce-buddy verify

# Scrape product reviews
commerce-buddy scrape "wireless mouse" --products 5 --reviews 10

Commands

scrape

Scrape Amazon product reviews:

commerce-buddy scrape <keyword> [options]

Options:
  -p, --products <n>    Number of products to scrape (default: 10)
  -r, --reviews <n>     Reviews per product (default: 20)
  --preset <preset>     Anti-detection preset (basic/stealth/paranoid)
  --headless            Run in headless mode
  --session <id>        Session ID to use
  -o, --output <dir>    Output directory (default: ./data)

Example:

commerce-buddy scrape "bluetooth headphones" \
  --products 5 \
  --reviews 15 \
  --preset stealth \
  --output ~/data

verify

Verify anti-detection effectiveness:

# Run all checks
commerce-buddy verify

# Test on custom URL
commerce-buddy verify --url https://browserleaks.com/canvas

session

Manage sessions:

# Create new session
commerce-buddy session create --id my-session --warmup

# List all sessions
commerce-buddy session list

# Delete session
commerce-buddy session delete --id my-session

Presets

basic

P0 protection only (WebDriver hiding, Chrome APIs)

stealth (recommended)

P0 + P1 protection (Canvas, WebGL, Audio fingerprinting)

paranoid

Full protection + aggressive behavior simulation

Session Management

Sessions persist login state and browser fingerprints:

# First run: Creates session with manual login
commerce-buddy scrape "laptop" --session my-session

# Subsequent runs: Reuses session (no login needed)
commerce-buddy scrape "keyboard" --session my-session

Sessions are stored in ~/.commerce-buddy/sessions/

Output Format

JSON output includes complete product and review data:

{
  "keyword": "wireless mouse",
  "scrapedAt": "2026-03-09T00:00:00.000Z",
  "preset": "stealth",
  "totalProductsFound": 22,
  "productsScraped": 5,
  "products": [
    {
      "product": {
        "title": "Logitech M510...",
        "asin": "B01JPOLLTK",
        "url": "https://amazon.com/...",
        "price": "$24.99",
        "rating": "4.5",
        "reviewCount": "12,345"
      },
      "reviews": [
        {
          "reviewer": "John Doe",
          "rating": "5.0 out of 5 stars",
          "title": "Great mouse!",
          "content": "Very comfortable...",
          "date": "Reviewed in the United States on March 1, 2026",
          "verified": true
        }
      ]
    }
  ]
}

Anti-Detection Details

P0 Protection

  • ✅ navigator.webdriver deleted
  • ✅ Chrome APIs (runtime, loadTimes, csi, app)
  • ✅ Playwright objects cleaned
  • ✅ Permissions API consistency
  • ✅ Performance timing adjustments

P1 Protection

  • ✅ Canvas fingerprint noise (session-consistent)
  • ✅ WebGL vendor/renderer spoofing
  • ✅ Audio context noise injection
  • ✅ Realistic plugin array
  • ✅ Screen properties normalization

Human Behavior

  • ✅ Bezier curve mouse movement
  • ✅ Variable typing speed
  • ✅ Natural scrolling with pauses
  • ✅ Session warmup (random browsing)

Detection Stats

Based on 1000+ test runs:

  • Amazon Detection Rate: 0.2% (stealth preset)
  • Browserleaks Detection: <5% (P1 fingerprinting)
  • Overall Risk: LOW

Configuration

Global config: ~/.commerce-buddy/config.json

{
  "defaultPreset": "stealth",
  "sessionDir": "~/.commerce-buddy/sessions",
  "scraping": {
    "maxProducts": 10,
    "reviewsPerProduct": 20,
    "delays": {
      "min": 1000,
      "max": 3000
    }
  }
}

Requirements

  • Node.js >= 18.0.0
  • Internet connection
  • ~500MB disk space (for browser)

License

MIT

Support

For issues and feature requests: https://github.com/openclaw/commerce-buddy/issues