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

@izantech/revenuecat-cli

v0.1.1

Published

Unofficial RevenueCat API v2 command line interface (not affiliated with RevenueCat)

Readme

@izantech/revenuecat-cli

npm version node npm last update

Unofficial RevenueCat API v2 CLI for scripting and automation. Not affiliated with RevenueCat.

Install

npm install --save-dev @izantech/revenuecat-cli

Run directly with:

npx revcat --help

Install the bundled agentic skill (optional):

npx revcat install-skill codex --global

Authentication

Set a v2 secret API key and project id:

export REVENUECAT_SECRET_API_KEY=sk_...
export REVENUECAT_PROJECT_ID=proj_...

The CLI automatically loads .env.local and .env from the current directory and workspace root.

Quickstart

List available operations:

npx revcat api operations

Show one operation:

npx revcat api show create-product

Run an operation by id:

npx revcat api run list-products --query app_id=app_123 --query limit=20

Run with generated command aliases:

npx revcat products list --query app_id=app_123 --limit 20

For scripting, use JSON output:

npx revcat --format json subscriptions search --query customer_id=user_123

Mutation Safety

Mutating operations (POST / DELETE) require both --apply and --yes.

npx revcat products create --body-file ./payload.json
# blocked

npx revcat products create --body-file ./payload.json --apply --yes
# executes

Optional Config

Default config path: config/revenuecat-cli.json

{
  "defaultProfile": "prod",
  "profiles": {
    "prod": {
      "projectId": "proj_prod",
      "apiBaseUrl": "https://api.revenuecat.com/v2",
      "timeoutMs": 15000
    },
    "staging": {
      "projectId": "proj_staging"
    }
  }
}

Use a profile with:

npx revcat --profile staging api operations

Or environment variable:

export REV_CAT_PROFILE=staging

Agentic Skill Install

Install for Codex globally (~/.agents/skills):

npx revcat install-skill codex --global

Install for Codex in the current project (.agents/skills):

npx revcat install-skill codex --local

Install for Claude Code globally (~/.claude/commands):

npx revcat install-skill claude --global

Install for Claude Code in the current project (.claude/commands):

npx revcat install-skill claude --local

Install for Gemini CLI globally (~/.gemini/commands):

npx revcat install-skill gemini --global

Install for Gemini CLI in the current project (.gemini/commands):

npx revcat install-skill gemini --local

Install for Cursor in the current project (.cursor/rules, local-only):

npx revcat install-skill cursor --local

Install for Aider globally (~/.aider.conf.yml + ~/.aider/agentic-revcat.md):

npx revcat install-skill aider --global

Install for Aider in the current project (.aider.conf.yml + .aider/agentic-revcat.md):

npx revcat install-skill aider --local

Overwrite existing installation:

npx revcat install-skill claude --global --force

Docs