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

@partnerwave/cli

v0.1.3

Published

PartnerWave CLI and MCP server — control lead-gen campaigns, business search, contact-form analysis and tiered form submission from the terminal or any local LLM.

Readme

@partnerwave/cli

PartnerWave CLI (pw) + MCP server — control lead-gen campaigns, business search, contact-form analysis and tiered form submission from your terminal or any local LLM client (Claude Desktop, Cursor, opencode, etc.).

Install

npm install -g @partnerwave/cli

Or run from this repo during development:

cd packages/cli && npm install && npm run build
node dist/index.js --help

Login

OAuth 2.0 device flow (RFC 8628) — no copy/pasting secrets:

pw login          # opens partnerwave.io/device, enter the code shown
pw whoami
pw logout

Prefer static keys? Mint one with pw keys mint after logging in, then use env vars anywhere (CI / agents):

PARTNERWAVE_API_KEY=pw_live_… pw campaigns list
# or token-based:
PARTNERWAVE_ACCESS_TOKEN=pw_at_… PARTNERWAVE_BASE_URL=https://partnerwave.io pw campaigns list

Credentials are stored at ~/.partnerwave/credentials.json (0600). Access tokens refresh automatically via rotation; expired sessions prompt re-login.

Platform control

pw login|logout|whoami

pw keys list|mint|revoke              integration API keys (pw_live_…)

pw campaigns list|get|delete          inspect campaigns
pw campaigns settings <id> [--patch '{}']
pw campaigns defaults <id> [--set '{}']

pw search create -k "plumber" --location "Austin TX" \
    -c "TX Plumbers" --limit 50       business search into campaign lists

pw results list <listId>              page businesses incl. analyze/submit state
pw results delete <listId> --ids a,b

pw lists merge <campaignId> [--dry-run] [--delete-source]
pw lists duplicates <campaignId> [--by website] [--scope owner]

pw forms analyze https://example.com
pw forms submit https://example.com --data '{"name":"…","email":"…"}'
pw forms check-list <listId>          queue server-side form checks
pw forms submit-list <listId>         submit every analyzed, unsent form in a list
pw forms report <listId> --status submitted --form-url … [--result <id>]

pw blacklist list|add|remove

All output is JSON — pipe into jq or consume from scripts.

MCP server (any local LLM)

pw mcp

Stdio JSON-RPC exposing PartnerWave tools (pw_search_create, pw_form_analyze, pw_form_submit_list, pw_submission_report, …). Register in any MCP client:

{
  "mcpServers": {
    "partnerwave": {
      "command": "pw",
      "args": ["mcp"]
    }
  }
}

The MCP process shares ~/.partnerwave/credentials.json — run pw login once, then every LLM session is authenticated.

Environment

| Variable | Purpose | |---|---| | PARTNERWAVE_BASE_URL | Override API base (default https://partnerwave.io) | | PARTNERWAVE_API_KEY | Static integration key instead of OAuth | | PARTNERWAVE_ACCESS_TOKEN | Explicit access token | | PARTNERWAVE_CREDENTIALS | Alternate credentials file path |

Rate limits (per key/token) are enforced server-side; the CLI honors Retry-After on 429s automatically.