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

@beaconed/cli

v0.0.3

Published

Command-line interface for the Beaconed v1 API

Readme

@beaconed/cli

Command-line interface for the Beaconed v1 API. Manage products, optimizations, scores, settings, and webhooks from your shell or CI pipeline.

Install

npm install -g @beaconed/cli

Authentication

Three ways to provide your API key, in priority order:

  1. --api-key <key> flag per command
  2. BEACONED_API_KEY environment variable
  3. Config file saved via beaconed auth login
beaconed auth login         # prompts for your key, saves to ~/.config/beaconed/config.json
export BEACONED_API_KEY=... # or set it in your shell
beaconed products list --api-key bcd_...  # or pass it inline

Get your API key at beaconed.ai under Settings > API Keys.

Quickstart

beaconed products list
beaconed products show abc-123
beaconed bulk optimize --product-ids abc-123,def-456
beaconed optimizations approve opt-789
beaconed products list --format json | jq '.data[].title'

Global flags

| Flag | Env var | Default | |------|---------|---------| | --api-key <key> | BEACONED_API_KEY | config file | | --base-url <url> | BEACONED_BASE_URL | https://beaconed.ai | | --format table\|json | BEACONED_FORMAT | table | | --page <n> | — | 1 | | --per-page <n> | — | 25 | | --verbose | — | — | | --dry-run | — | — |

Pass --dry-run on any mutation command to preview the planned request without sending it.

Commands

auth
  auth login                      Save API key to config file
  auth whoami                     Verify auth, print account settings

products
  products list                   List products (filterable by status, grade, score)
  products get <id>               Product detail
  products create                 Create a product from external data
  products update <id>            Update product fields (partial)
  products optimize <id>          Queue AI optimization [EXPENSIVE]
  products sync <id>              Trigger Shopify sync [EXPENSIVE]
  products calculate-score <id>   Recalculate readiness score [EXPENSIVE]
  products scores <id>            Score history for a product
  products optimizations <id>     Optimizations for a product

optimizations
  optimizations list              List all optimizations
  optimizations get <id>          Optimization detail
  optimizations approve <id>      Approve a pending optimization [EXPENSIVE]
  optimizations reject <id>       Reject a pending optimization
  optimizations apply <id>        Apply optimization to live product [EXPENSIVE]
  optimizations revert <id>       Revert an applied optimization [EXPENSIVE]

bulk
  bulk optimize                   Queue optimization for multiple products [EXPENSIVE]

scores
  scores list                     Scores across all products
  scores latest                   Latest score per product

settings
  settings get                    Account optimization settings

webhooks
  webhooks list                   List webhook subscriptions
  webhooks get <id>               Webhook detail
  webhooks create                 Create a webhook subscription
  webhooks update <id>            Update a webhook subscription
  webhooks delete <id>            Delete a webhook subscription
  webhooks events                 Global event type catalog
  webhooks test <id>              Send a test event

[EXPENSIVE] commands are rate-limited to 10 requests/minute.

License

MIT — see LICENSE.