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

@browsemake/browser-cli

v0.1.64

Published

<p align="center"> <img width="full" src="https://github.com/user-attachments/assets/ac1cd9e3-f811-4af7-9338-7d6d0c80fcd7" /> </p>

Downloads

10

Readme

Discord Twitter Follow

br is a command line tool used by any capable LLM agent, like ChatGPT, Claude Code or Gemini CLI.

https://www.npmjs.com/package/@browsemake/browser-cli

Why Broswer CLI?

  • Just works: simply browser automation, coding not required, leave the rest workflow to the most powerful LLM agent
  • AI first: designed for LLM agent, readable view from HTML, and error hint
  • Secure: can be run locally, no credential passed to LLM
  • Robust: browser persisted progress across session, and track history action for replay

Install

npm install -g @browsemake/browser-cli

Usage

Type instruction to AI agent (Gemini CLI / Claude Code / ChatGPT):

> You have browser automation tool 'br', use it to go to amazon to buy me a basketball

Use command line directly by human:

br start
br goto https://github.com/

Demos

Grocery (Go to Amazon and buy me a basketball)

Navigate to GitHub repo:

Print invoice

Download bank account statement

Search for job posting

Features

  • Browser Action: Comprehensive action for browser automation (navigation, click, etc.)
  • LLM friendly output: LLM friendly command output with error correction hint
  • Daemon mode: Always-on daemon mode so it lives across multiple LLM sessions
  • Structured web page view: Accessibility tree view for easier LLM interpretation than HTML
  • Secret management: Secret management to isolate password from LLM
  • History tracking: History tracking for replay and scripting

Command

Start the daemon

br start

If starting the daemon fails (for example due to missing Playwright browsers), the CLI prints the error output so you can diagnose the issue.

Navigate to a URL

br goto https://example.com

Click an element

br click "button.submit"

Commands that accept a CSS selector (like click, fill, scrollIntoView, type) can also accept a numeric ID. These IDs are displayed in the output of br view-tree and allow for direct interaction with elements identified in the tree.

Scroll element into view

br scrollIntoView "#footer"

Scroll to percentage of page

br scrollTo 50

Fill an input field

br fill "input[name='q']" "search text"

Fill an input field with a secret

MY_SECRET="top-secret" br fill-secret "input[name='password']" MY_SECRET

When retrieving page HTML with br view-html, any text provided via fill-secret is masked to avoid exposing secrets.

Type text into an input

br type "input[name='q']" "search text"

Press a key

br press Enter

Scroll next/previous chunk

br nextChunk
br prevChunk

View page HTML

br view-html

View action history

br history

Clear action history

br clear-history

Capture a screenshot

br screenshot

View accessibility and DOM tree

br view-tree

Outputs a hierarchical tree combining accessibility roles with DOM element information. It also builds an ID-to-XPath map for quick element lookup.

List open tabs

br tabs

Switch to a tab by index

br switch-tab 1

Stop the daemon

br stop

The daemon runs a headless Chromium browser and exposes a small HTTP API. The CLI communicates with it to perform actions like navigation and clicking elements.