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

@actionbookdev/cli

v0.7.3

Published

CLI for Actionbook - Browser automation and action manuals for AI agents

Readme

@actionbookdev/cli

CLI for Actionbook - Browser automation and action manuals for AI agents. Powered by a native Rust binary for fast startup and zero runtime dependencies.

Installation

npm install -g @actionbookdev/cli

Or use directly with npx:

npx @actionbookdev/cli search "airbnb search"

Platform Binaries

@actionbookdev/cli is the single public install package. Platform-specific native binaries are shipped through internal optional dependencies (@actionbookdev/cli-*), and npm automatically installs the matching package for your OS/CPU.

If you install with --omit=optional, the native binary package may be skipped and the CLI will not run until you reinstall without that flag.

Quick Start

# Search for actions
actionbook search "airbnb search"

# Get action details by area_id
actionbook get "airbnb.com:/:default"

# Browser automation
actionbook browser open https://example.com
actionbook browser snapshot
actionbook browser click "button.submit"

Commands

actionbook search <query>

Search for action manuals by keyword.

actionbook search "google login"
actionbook search "airbnb" --domain airbnb.com
actionbook search "login" --page 2 --page-size 20

Options:

  • -d, --domain <domain> - Filter by domain (e.g., "airbnb.com")
  • -u, --url <url> - Filter by URL
  • -p, --page <number> - Page number (default: 1)
  • -s, --page-size <number> - Results per page 1-100 (default: 10)

actionbook get <area_id>

Get complete action details by area ID.

actionbook get "airbnb.com:/:default"
actionbook get "github.com:/login:default"

actionbook browser <command>

Browser automation via Chrome DevTools Protocol. Uses your existing system browser (Chrome, Brave, Edge, Arc, Chromium) - no browser download required.

Navigation:

  • open <url> - Open URL in new tab
  • goto <url> - Navigate current page
  • back / forward / reload - History navigation
  • pages / switch - Manage tabs

Interaction:

  • click <selector> - Click element
  • type <selector> <text> - Type text (append)
  • fill <selector> <text> - Clear and type text
  • select <selector> <value> - Select dropdown option
  • hover <selector> / focus <selector> - Hover/focus element
  • press <key> - Press keyboard key

Waiting:

  • wait <selector> - Wait for element (default 30s)
  • wait-nav - Wait for navigation

Page Inspection:

  • screenshot [path] - Take screenshot
  • pdf <path> - Export as PDF
  • html [selector] - Get page/element HTML
  • text [selector] - Get page/element text
  • eval <code> - Execute JavaScript
  • snapshot - Get accessibility snapshot
  • viewport - Get viewport dimensions

Cookies:

  • cookies list / get / set / delete / clear - Cookie management

Session:

  • status - Show detected browsers & session info
  • close / restart / connect - Session control

actionbook sources

List and search available action sources.

actionbook sources list
actionbook sources search "github"

actionbook config

Manage CLI configuration.

actionbook config show
actionbook config get api.base_url
actionbook config set api.api_key "your_key"

actionbook profile

Manage browser profiles for isolated sessions.

actionbook profile list
actionbook profile create work
actionbook profile delete work

Global Options

--browser-path <path>    # Custom browser executable
--cdp <port|url>         # Connect to existing CDP port
--profile <name>         # Use specific browser profile
--headless               # Run in headless mode
--json                   # JSON output format
--verbose, -v            # Verbose logging

Configuration

Config file location: ~/.actionbook/config.toml

[api]
base_url = "https://api.actionbook.dev"
api_key = "your_key"

[browser]
executable = "/path/to/chrome"
default_profile = "default"
headless = false

Priority: CLI args > Environment vars > Config file > Auto-discovery

Environment Variables

  • ACTIONBOOK_API_KEY - API key for Actionbook service
  • ACTIONBOOK_BINARY_PATH - Override binary path (for development)

Supported Browsers

| Browser | macOS | Linux | Windows | |---------|-------|-------|---------| | Google Chrome | Yes | Yes | Yes | | Brave | Yes | Yes | Yes | | Microsoft Edge | Yes | Yes | Yes | | Arc | Yes | - | - | | Chromium | Yes | Yes | Yes |

Related Packages

License

Apache-2.0