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

memberstack-cli

v1.3.0

Published

Manage your Memberstack account with a simple, yet powerful CLI.

Readme

Memberstack CLI

Flash Brew Digital OSS MIT License

Manage your Memberstack account from the terminal. Authenticate via OAuth, then create, read, update, and delete apps, members, plans, data tables, records, and custom fields. Get more done and give your AI agents the power to manage your membership site with ease.

View Documentation

Installation

npm install -g memberstack-cli

Requires Node.js 20 or later.

Quick Start

# Authenticate with your Memberstack account
# And choose your application
memberstack auth login

# Verify your identity
memberstack whoami

Usage

memberstack <command> [subcommand] [params] [options]

Install Agent Skill (Optional)

memberstack skills add memberstack-cli

Global Options

| Option | Env Var | Description | |---|---|---| | -j, --json | MEMBERSTACK_JSON | Output raw JSON instead of formatted tables | | -q, --quiet | | Suppress banner and non-essential output | | --no-color | NO_COLOR | Disable color output (respects the NO_COLOR standard) | | --mode <mode> | MEMBERSTACK_MODE | Set environment mode (sandbox or live, default: sandbox) | | --live | | Shorthand for --mode live | | --sandbox | | Shorthand for --mode sandbox |

Commands

| Command | Functionality | |---|---| | auth | Login, logout, and check authentication status | | whoami | Show current authenticated app and user | | apps | View, create, update, delete, and restore apps | | members | List, create, update, delete, import/export, bulk ops | | permissions | Create, update, delete, and link/unlink to plans and members | | plans | List, create, update, delete, and reorder plans | | prices | Create, update, activate, deactivate, and delete prices | | tables | List, create, update, delete, and describe schema | | records | CRUD, query, import/export, bulk ops | | custom-fields | List, create, update, and delete custom fields | | users | List, get, add, remove, and update roles for app users | | providers | List, configure, and remove auth providers (e.g. Google) | | sso | List, create, update, and delete SSO apps | | skills | Add/remove agent skills for Claude Code and Codex | | update | Update the CLI to the latest version | | reset | Delete local data files and clear authentication |

For full command details and usage, see the Command Reference.

Examples

# List all members as JSON
memberstack members list --json

# Create a plan
memberstack plans create --name "Pro Plan" --description "Full access"

# Find records with a filter
memberstack records find my_table --where "status equals active" --take 10

# Export members to CSV
memberstack members export --format csv --output members.csv

# Import records from a JSON file
memberstack records import my_table --file data.json

# Use live environment
memberstack members list --mode live
memberstack members list --live

Development

# Install dependencies
pnpm install

# Run locally (via tsx, no build needed)
pnpm dev -- members list --json

# Build
pnpm build

# Run tests
pnpm test

# Lint
pnpm check

# Fix lint issues
pnpm fix

# Type check
pnpm type-check

See ARCHITECTURE.md for project structure and design details.

Resources

Documentation

Contributing

Contributions are welcome! Please read our Contributing Guide for more information.

License

MIT License

Author

Ben Sabic at Flash Brew Digital

Disclaimer

This is not an official Memberstack product. It is an independent, community-driven open-source project and is not affiliated with, endorsed by, or supported by Memberstack. "Memberstack" and the Memberstack logo are the property of Memberstack Inc.

Your OAuth tokens are stored locally on your machine at ~/.memberstack/auth.json with restrictive file permissions. Credentials are never shared with third parties, the CLI communicates directly with the Memberstack API and nothing else. You can revoke access at any time by running memberstack auth logout.