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

@lemonade-social/cli

v1.2.1

Published

Lemonade CLI - manage events, communities, and tickets from the terminal

Downloads

889

Readme

Lemonade CLI

Manage events, communities, tickets, and more from the terminal. Built for developers and AI agents.

Quickstart

# 1. Install
npm install -g @lemonade-social/cli

# 2. Authenticate
lemonade auth login              # Opens browser for OAuth

# 3. Verify
lemonade auth whoami             # Should show your name and email

That's it. You can now run any lemonade command.

Try the AI terminal (optional)

make-lemonade is an interactive AI chat that manages your Lemonade account using natural language.

# Set your AI provider key (pick one)
export ANTHROPIC_API_KEY=sk-ant-...
# or
export OPENAI_API_KEY=sk-...

# Launch
make-lemonade

If you skip the export step, make-lemonade will walk you through setting up an API key on first launch.

Local development (contributors)

If you're working on the CLI itself instead of using it:

git clone https://github.com/lemonadesocial/lemonade-cli.git
cd lemonade-cli
yarn install
yarn build
npm link                         # Makes `lemonade` and `make-lemonade` available globally
yarn test                        # Run tests

Interactive AI Mode

make-lemonade

Chat with an AI assistant that can create events, manage tickets, switch spaces, and more -- all in natural language.

# Examples of what you can say:
> create a techno event in Berlin next Saturday at 10pm
> add a 25 dollar early bird ticket
> publish it
> switch to my Berlin Techno space
> how are ticket sales for my warehouse party?

Options:

make-lemonade --provider openai          # Use OpenAI instead of Anthropic (default)
make-lemonade --model gpt-4o            # Override the model
echo "list my events" | make-lemonade    # Batch mode via stdin
make-lemonade --json                     # JSON output (batch mode)
make-lemonade --help                     # Full options

CLI Commands

Spaces

lemonade space create --title "Berlin Techno"
lemonade space list
lemonade space update <id> --description "Underground events"
lemonade space connect <platform>        # Connect a platform (e.g. eventbrite)
lemonade space connectors <id>           # List connected platforms
lemonade space analytics <id>
lemonade space plan <id>                 # Show current plan and usage
lemonade space upgrade <id>              # Open subscription page
lemonade space stripe-connect            # Connect Stripe for payouts
lemonade space stripe-status             # Check Stripe connection status

Events

lemonade event create --title "Warehouse Party" --space <id>
lemonade event list
lemonade event search "techno berlin"    # Atlas federated search
lemonade event get <id>
lemonade event update <id> --description "Updated info"
lemonade event publish <id>
lemonade event cancel <id>
lemonade event analytics <id>
lemonade event guests <id>
lemonade event invite <id> --email [email protected]
lemonade event approvals <id>            # Manage join requests
lemonade event feedback <id>
lemonade event checkins <id>

Tickets

lemonade tickets types <event-id>
lemonade tickets create-type <event-id> --title "Early Bird" --price 25
lemonade tickets update-type <id> --price 30
lemonade tickets price <event-id>
lemonade tickets buy <event-id> --type <type-id> --quantity 2

Rewards

lemonade rewards balance
lemonade rewards history
lemonade rewards payouts
lemonade rewards referral
lemonade rewards settings

Site Builder

lemonade site generate "A landing page for our techno community"
lemonade site preview
lemonade site deploy <space-id>
lemonade site templates

Connectors

lemonade connectors list
lemonade connectors sync <id>

Configuration

lemonade config init                     # Create ~/.lemonade/config.json
lemonade config set default_space <id>   # Set default space for all commands
lemonade config get default_space

Authentication

Three ways to authenticate:

# Option 1: Browser login (recommended)
lemonade auth login

# Option 2: API key (for scripts and CI)
lemonade auth token <your-api-key>

# Option 3: Environment variable (for CI/CD)
export LEMONADE_API_KEY=your-api-key

Check your auth status:

lemonade auth whoami

JSON Output

Every command supports --json for structured output, useful for scripting:

lemonade event list --json
{
  "ok": true,
  "data": [
    { "_id": "abc123", "title": "Warehouse Party", "start": "2026-04-15T22:00:00Z" }
  ]
}

Environment Variables

| Variable | Purpose | |---|---| | LEMONADE_API_KEY | API key for Lemonade (skips browser login) | | LEMONADE_API_URL | Backend URL (default: production) | | LEMONADE_REGISTRY_URL | Atlas Registry URL | | ANTHROPIC_API_KEY | Anthropic API key (for make-lemonade) | | OPENAI_API_KEY | OpenAI API key (for make-lemonade) | | MAKE_LEMONADE_PROVIDER | AI provider: anthropic (default) or openai | | MAKE_LEMONADE_MODEL | Model override (e.g. claude-sonnet-4-6, gpt-4o) |

Exit Codes

| Code | Meaning | |---|---| | 0 | Success | | 1 | User error (bad input, not found) | | 2 | Authentication error | | 3 | Network error |

License

MIT