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

banana-browser

v0.0.1

Published

Stealth browser automation that bypasses bot detection. Undetectable headless Chrome for AI agents and web scraping.

Readme

Banana Browser

Stealth browser automation that bypasses bot detection.

npm version npm downloads License GitHub stars



Try It Now

npx banana-browser demo

That's it. Watch your browser pass every bot detection test.


What It Does

Banana Browser is a headless Chrome that's invisible to bot detection. It uses Patchright (an undetectable Playwright fork) to pass fingerprint checks, Cloudflare, and anti-bot systems that block regular automation tools.

Perfect for AI agents, web scraping, and automation that needs to look human.


Installation

Quick Install (recommended)

npm install -g banana-browser

The native Rust binary downloads automatically. Then install Chrome:

banana-browser install

One-liner Demo (no install needed)

npx banana-browser demo

From Source

git clone https://github.com/timothywangdev/banana-browser
cd banana-browser
npm install
npm run build:native   # Requires Rust

Quick Start

Run the Bot Detection Demo

banana-browser demo

Opens a browser, navigates to bot detection tests, and shows you the results in your terminal.

Start the Browser Daemon

banana-browser start

Navigate to a URL

banana-browser open https://example.com

Take a Screenshot

banana-browser screenshot https://example.com -o screenshot.png

Check Your Setup

banana-browser --version

Features

  • Undetectable - Passes Cloudflare, DataDome, PerimeterX, and fingerprint tests
  • Fast - Native Rust CLI, no Node.js runtime overhead for the daemon
  • Simple - Single binary, zero configuration required
  • AI-Ready - Built for AI agents with structured output and MCP integration
  • Cross-Platform - Works on macOS (Intel + ARM), Linux, and Windows

Comparison: Regular Automation vs Banana Browser

| Bot Detection Test | Puppeteer | Playwright | Banana Browser | |--------------------|-----------|------------|----------------| | navigator.webdriver | FAIL | FAIL | PASS | | Chrome headless detection | FAIL | FAIL | PASS | | Fingerprint consistency | FAIL | FAIL | PASS | | Cloudflare challenge | FAIL | FAIL | PASS | | DataDome | FAIL | FAIL | PASS |


CLI Commands

Core Commands

| Command | Description | |---------|-------------| | banana-browser demo | Run bot detection tests and show results | | banana-browser install | Install Chromium for automation | | banana-browser open <url> | Navigate to a URL | | banana-browser screenshot [path] | Take a screenshot | | banana-browser close | Close the browser | | banana-browser --version | Show version info | | banana-browser --help | Show all commands |

Interaction Commands

| Command | Description | |---------|-------------| | banana-browser click <selector> | Click an element | | banana-browser fill <selector> <text> | Fill a form field | | banana-browser type <text> | Type text into focused element |

Demo Options

| Option | Description | |--------|-------------| | --headless | Run demo in headless mode | | --quiet | Suppress promotional output | | --screenshot <path> | Save screenshot of results |

Environment Variables

| Variable | Description | |----------|-------------| | AGENT_BROWSER_ENGINE=patchright | Use Patchright anti-detection engine | | AGENT_BROWSER_HEADLESS=true | Run in headless mode |

Examples

# Run the bot detection demo
banana-browser demo

# Open a page with anti-detection
AGENT_BROWSER_ENGINE=patchright banana-browser open https://bot.sannysoft.com

# Automate a form
banana-browser open https://example.com/form
banana-browser fill "#email" "[email protected]"
banana-browser fill "#password" "secret"
banana-browser click "button[type=submit]"
banana-browser screenshot result.png

Documentation


Contributing

We welcome contributions! See CONTRIBUTING.md for guidelines.

git clone https://github.com/timothywangdev/banana-browser
cd banana-browser
npm install
npm run dev:setup

License

Apache-2.0 - See LICENSE for details.