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

@bidbeacon/cli

v3.1.0

Published

BidBeacon CLI

Readme

@bidbeacon/cli

BidBeacon’s canonical operation CLI.

Install

npm install -g @bidbeacon/cli

Contract

bb auth set --stdin
bb advertiser-accounts list
bb search campaign --account <advertiser-account-uuid> --fields campaign.id,metrics.orders --where 'metrics.orders>=1' --all
bb performance --account <advertiser-account-uuid> --dimension account --interval day --start-date 2026-08-01 --end-date 2026-08-06 --metrics spend,sales,orders
bb performance --account <advertiser-account-uuid> --dimension target --entity-ids <target-id-1,target-id-2> --interval day --start-date 2026-08-01 --end-date 2026-08-06 --metrics spend,sales,orders
bb create campaign --account <advertiser-account-uuid> --name "Example" --state ENABLED --daily-budget 25 --bid-strategy FIXED --targeting-mode AUTO --start-date 2026-08-06
bb create sponsored-products-campaign --account <advertiser-account-uuid> --json @campaign.json
bb update target --account <advertiser-account-uuid> --target-id <target-id> --bid 0.75
bb config show
bb changelog

All account-scoped commands require an explicit advertiser account UUID. The CLI does not read or write a selected account. bb advertiser-accounts list is the only unscoped operation.

Search supports explicit fields, account-local inclusive dates, stable ordering, keyset cursors, repeated --where AND filters, and --all. Use in ["a", "b"] for alternatives. Metric fields use the canonical vocabulary, including metrics.orders and metrics.cvr. Search responses include a full filtered-resource summary. bb performance returns complete bounded Account or ordered Product, Ad, or Target temporal points without a cursor. Ratios are null when their denominator is zero.

Primitive create and update operations accept camel-case operation properties as kebab-case flags. Nested input can come from a JSON literal, @file, or stdin:

bb update campaign --account <advertiser-account-uuid> --campaign-id <campaign-id> --json '{"changes":{"state":"PAUSED"}}'
bb create sponsored-products-campaign --account <advertiser-account-uuid> --json - < campaign.json

Flags and JSON may not assign the same property twice. Successful operation output is JSON on stdout. Failures are stable { "error": { "code", "message", "details" } } JSON on stderr with a nonzero exit status.

Local configuration

Authentication uses the platform secure store. MERCHBASE_API_KEY is intended for automation, CI, and agent runtimes; it is never persisted by the CLI.

bb config set storage-dir <path> persists a custom transport-settings directory. The only saved settings are base-url and the storage directory itself. Environment overrides take precedence:

  • MERCHBASE_API_KEY
  • BB_STORAGE_DIR
  • BB_BASE_URL

There is no account, country, range, or dashboard-selection configuration.