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

@rekey.dev/cli

v2.1.0

Published

Rekey command-line interface — designed for both human developers and AI agents.

Readme

@rekey.dev/cli

ReliPay is now Rekey. This package was previously published as the equivalent @relipay/* package, which is deprecated. Env vars renamed RELIPAY_*REKEY_* (as of 2.0.0 the old names are no longer read — set REKEY_*). relipay.dev (the old domain) will redirect to rekey.dev after the domain migration.

rekey — command-line interface for Rekey deployments. Designed for both human developers and AI agents.

What is Rekey? An auth + billing backend for your SaaS: sign-in (password, magic-link, passkeys, OAuth, MFA), subscriptions, usage, credits, licenses, and teams — behind one API, multi-tenant, provider-agnostic. Docs: rekey.dev/docs. This CLI manages a deployment — tenants, applications, API keys — from your terminal or an agent.

For AI agents: start at AGENTS.md.

Install

pnpm add -g @rekey.dev/cli
# or per-project
pnpm add -D @rekey.dev/cli

Use

export REKEY_URL=http://localhost:3030
export SUPER_ADMIN_KEY=$(openssl rand -hex 32)  # whatever you set on the deployment

rekey doctor

rekey init \
  --tenant-name "Acme" --owner-email [email protected] \
  --app-name "Acme Prod" --app-slug acme-prod

rekey apps list
rekey plans create --app <id> --slug pro_monthly --name Pro --amount 999
rekey plans list --app <id>

Add --json to any command for machine-readable output.

Status

Phase 2.0 scaffold. Everything below in "Implemented" is real and wired to the API; everything under "Planned" does not exist yet — invoking it prints commander's unknown-command error.

Implemented

All commands talk to the admin surface (/api/v1/admin/*) and need REKEY_URL + SUPER_ADMIN_KEY — except version, which needs neither, and doctor, which needs only REKEY_URL: a missing SUPER_ADMIN_KEY is reported as a warn check and doctor still exits 0, since telling you the key is missing is the diagnosis.

| Command | What it does | |---|---| | rekey version | Print the CLI version. No env needed. rekey --version / -V print the same thing; the subcommand is the one that honours --json. | | rekey doctor | Config + connectivity diagnosis (/health probe, env checks). Run this first. | | rekey init | One-shot bootstrap: create tenant → application → first API key. With --json the document is { tenant, application, apiKey } at the top level — no success/data envelope on the success path — so the secret is at apiKey.rawKey, printed exactly once. (The { success: false, error } envelope appears only on failure, on stderr.) | | rekey apps list \| get <id> \| create | Application CRUD. | | rekey plans list \| create \| set-active | Plan management (--amount is the smallest currency unit — integer). |

Planned (not yet implemented)

These are on the roadmap but not shipped — don't script against them yet:

  • rekey coupons … — coupon management (today: panel or admin API).
  • rekey api-keys list/create/revoke — key lifecycle (today: panel, admin API, or the MCP server's mint_api_key).
  • rekey tunnel-webhooks — the stripe listen equivalent for local webhook development.

See AGENTS.md for the full agent-facing contract.


About Rekey

Rekey is a self-hostable auth + billing backend for SaaS — one API for sign-in, subscriptions, usage, credits, licenses, and teams.