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

@anchor-browser/cli

v0.1.28

Published

AnchorBrowser CLI

Readme

AnchorBrowser CLI

AnchorBrowser CLI with agent-browser parity UX, backed by AnchorBrowser sessions over CDP.

Install

Homebrew (recommended)

brew tap anchorbrowser/homebrew-tap
brew install anchorbrowser

npm

npm install -g @anchor-browser/cli
anchorbrowser --help

Build from source

git clone https://github.com/anchorbrowser/cli.git
cd cli
make build
./bin/anchorbrowser version

Command model

agent-browser parity commands are available through the proxy command (anchorbrowser proxy ...) and are executed through pinned backend (v0.20.13).

Anchor API-specific commands are namespaced under anchor:

anchorbrowser anchor session ...
anchorbrowser anchor identity ...
anchorbrowser anchor task ...

Operational commands remain top-level:

anchorbrowser auth ...
anchorbrowser proxy ...
anchorbrowser update
anchorbrowser version

Breaking change:

  • old top-level session, identity, task commands moved under anchor.

Authentication

API key precedence:

  1. --api-key
  2. --key <name>
  3. ANCHORBROWSER_API_KEY
  4. active key stored in OS keychain
anchorbrowser auth login --name default
anchorbrowser auth keys list
anchorbrowser auth current

Parity usage

Examples (mirroring agent-browser style):

anchorbrowser proxy open https://example.com
anchorbrowser proxy snapshot -i
anchorbrowser proxy click @e1
anchorbrowser proxy fill @e2 "hello"
anchorbrowser proxy screenshot page.png
anchorbrowser proxy close

Session bridge behavior for parity commands:

  1. hidden --session-id if provided,
  2. cached latest session,
  3. otherwise auto-create a new session.

Auto-created sessions enable recommended anti-bot defaults:

  • session.proxy.active=true with type=anchor_proxy
  • browser.extra_stealth.active=true
  • browser.captcha_solver.active=true

For authenticated browsing, pre-create an authenticated Anchor session and then run parity commands:

anchorbrowser anchor session create --interactive
anchorbrowser proxy open https://your-app.example

Power-user flags for parity commands (intentionally hidden):

  • --session-id
  • --new-session
  • --no-cache

Proxy bootstrap

Backend bootstrap is strict at install time:

  • Homebrew install runs anchorbrowser proxy --help
  • npm postinstall runs anchorbrowser proxy --help
  • install fails if backend bootstrap fails

Runtime auto-install/self-heal still applies if users manually remove/corrupt backend binaries.

Anchor namespace commands

anchorbrowser anchor session create --interactive
anchorbrowser anchor session list
anchorbrowser anchor identity list --application-url https://example.com
anchorbrowser anchor task run <task-id> --input "key=value"

Global flags

--api-key string
--key string
--base-url string
--timeout duration
--output json|yaml
--compact
--dry-run
--verbose

Development

make generate
make fmt
make lint
make test
make test-race
make vulncheck
make build
make release-check

Release + Homebrew automation

Tagging v* triggers GoReleaser (.github/workflows/release.yml) to:

  • build and publish binaries/checksums
  • create/update GitHub release in anchorbrowser/cli
  • commit formula updates to anchorbrowser/homebrew-tap
  • publish @anchor-browser/cli to npm

Required repo secrets in anchorbrowser/cli:

  • HOMEBREW_TAP_GITHUB_TOKEN
  • NPM_TOKEN

Version-driven releases

When package.json version changes and merges to main, workflow .github/workflows/tag-release-from-package.yml creates and pushes tag v<version>. That tag triggers the release workflow.