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

firefox-cli

v0.2.0

Published

Firefox automation CLI for AI agents

Downloads

355

Readme

firefox-cli gives AI agents terminal-driven control over a user's normal Firefox session. It is inspired by agent-browser, but for Firefox users. It talks to a Firefox extension so an agent can inspect pages, navigate, operate tabs and windows, interact with elements, read browser state, wait for page conditions, capture screenshots, observe logs/network activity, and run serial browser workflows from a CLI. using the real, authenticated user's session.

Security Warning

Approving the firefox-cli extension grants the paired firefox-cli user full control over the Firefox browser session, including using & manipulating the signed-in sites, authentication, cookies, sensitive data & monitoring all activity. After approval, treat firefox-cli as able to control all reachable Firefox windows, profiles, and tabs.

Do not approve the pairing unless you accept responsibility for every actor that can run firefox-cli on the machine.

Installation

Install the CLI package:

npm install -g firefox-cli

Print the extension download URL and native-host setup guidance:

firefox-cli setup

Install the extension from the URL shown by firefox-cli setup; open it in Firefox and accept the install prompt. The URL is selected from the update manifest for the matching CLI version.

Register the native messaging host:

firefox-cli setup native-host

Run firefox-cli connect and respond to the approval request in Firefox. The approval pairs the extension with the local native host and enables CLI requests from the machine.

Verify the installation:

firefox-cli doctor

doctor reports the native-host manifest state, extension connection state, approval state, and the next action when setup is incomplete.

Limitations

Not everything that Chrome/CDP / agent-browser tools support is supported by Firefox:

  • Private windows are readable, but mutating commands are rejected.
  • Page snapshots and element references target the main frame; cross-origin iframes are diagnostic only.
  • Screenshots capture the visible tab and may activate the target tab or window.
  • Browser-internal and privileged Firefox pages can block extension scripting.
  • Unsupported Chrome-only capabilities return structured unsupported-capability errors.

See docs/setup.md for platform paths and troubleshooting, and docs/commands.md for command syntax.

Development

bun install --frozen-lockfile
bun run check
bun run test:e2e
FIREFOX_CLI_E2E_DISPOSABLE=1 bun scripts/e2e-disposable-firefox.ts

bun run test:e2e does not launch Firefox unless FIREFOX_CLI_E2E_DISPOSABLE=1 is set. See docs/development.md for local safety rules.

License

AGPL-3.0-only. See LICENSE. Copyright (c) 2026 Nikita "Nek.12" Vaizin