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

partiful-cli

v2.1.0

Published

CLI for creating and managing Partiful events via API — JSON-first, agent-friendly

Readme

Banner

partiful-cli

Manage Partiful events from your terminal. JSON-first, script-friendly.

npm version license node

Try it now

npx partiful-cli --help

Install

# Install globally
npm install -g partiful-cli

# Or run without installing
npx partiful-cli <command>

# Or clone and link
git clone https://github.com/KalebCole/partiful-cli && cd partiful-cli
npm install && npm link

Features

  • 🎉 Events — create, list, get, update, cancel
  • 👥 Guests — list RSVPs, send invites
  • 📱 Blasts — text all your guests at once
  • 🎨 Posters — browse and attach poster images
  • 📋 Templates — save and reuse event configs
  • 📦 Bulk — batch create/update from JSON
  • 👀 Watch — live RSVP polling with NDJSON output
  • 🔄 Clone — duplicate events to new dates
  • 📤 Export — event + guests to JSON or CSV
  • 🩺 Doctor — diagnose auth and setup issues

Quick Start

# 1. Authenticate
partiful auth login +12065551234

# 2. Verify setup
partiful doctor

# 3. Create your first event
partiful events create --title "Game Night" --date "Apr 15 7pm" --location "My Place"

# 4. List your events
partiful events list

# 5. Invite and blast (use an eventId from step 4)
partiful guests list <eventId>
partiful blasts send <eventId> --message "See you tonight!"

Commands

auth — Manage authentication

partiful auth login +12065551234    # SMS-based auth
partiful auth status                # Check current auth
partiful auth logout                # Clear credentials

events — Manage events

partiful events list                # Upcoming events
partiful events list --past         # Past events
partiful events get <id>            # Event details
partiful events create --title "Party" --date "May 1 8pm" --location "Rooftop"
partiful events update <id> --title "New Title"
partiful events cancel <id>

guests — Manage event guests

partiful guests list <eventId>      # All guests with RSVP status
partiful guests invite <eventId>    # Send invites

blasts — Text guests

partiful blasts send <eventId> --message "Doors open at 7!"

contacts — Manage contacts

partiful contacts list              # All contacts
partiful contacts list "alex"       # Search by name

cohosts — Manage co-hosts

partiful cohosts list <eventId>
partiful cohosts add <eventId> --name "Alex" --name "Jordan"
partiful cohosts remove <eventId>

posters — Browse poster catalog

partiful posters list
partiful posters search "birthday"
partiful posters get <posterId>

template — Event templates

partiful template list                          # List saved templates
partiful template show <name>                   # Show template details
partiful template save --name "Game Night"       # Save a template
partiful template edit <name>                   # Edit a template
partiful template delete <name>                 # Delete a template

bulk — Batch operations

partiful bulk create events.json                              # Create from JSON file
partiful bulk update --filter "title contains Game" --location "New Spot"  # Bulk update

schema — Introspect command parameters

partiful schema events.create       # Show params for events create

doctor — Health check

partiful doctor                     # Check auth, connectivity, setup

Helper commands

Helpers use the + prefix:

# Clone an event to next week
partiful +clone <eventId>
partiful +clone <eventId> --date "May 1 8pm" --title "Game Night v2"

# Watch RSVPs in real-time (NDJSON stream)
partiful +watch <eventId> --interval 15 --duration 30

# Export event + guest list
partiful +export <eventId> --format json --output party.json
partiful +export <eventId> --format csv

# Get shareable link
partiful +share <eventId>

Global Flags

--format <fmt> (json/table/csv/ndjson) · --dry-run · -y, --yes · --force · -v, --verbose · -o, --output <path> · --no-color

Auth Setup

Partiful doesn't have a public API. This CLI authenticates via SMS verification through Firebase.

partiful auth login +12065551234   # sends SMS code, completes auth
partiful auth status               # verify you're logged in

How it works:

  1. You provide your phone number (E.164 format, e.g. +12065551234)
  2. Partiful sends an SMS verification code to that number
  3. On macOS with imsg installed, the code is auto-retrieved from Messages
  4. Otherwise, you'll be prompted to enter it manually
  5. Credentials are saved to ~/.config/partiful/auth.json

Tokens auto-refresh when expired. Run partiful doctor if anything seems off.

JSON Output

All commands support --format json. Responses follow a consistent envelope:

{
  "status": "success",
  "data": { ... },
  "metadata": {}
}

events list returns one summary object per event. Each includes your own RSVP and host status:

{
  "id": "BiwCtA9kRMh8Od5TvuPq",
  "title": "Skills & Drills",
  "startDate": "2026-07-08T01:30:00.000Z",
  "endDate": null,
  "location": null,
  "status": "PUBLISHED",
  "isHost": false,
  "myRsvp": "GOING",
  "going": 12,
  "maybe": 14,
  "url": "https://partiful.com/e/BiwCtA9kRMh8Od5TvuPq"
}
  • myRsvp — your personal RSVP: GOING, MAYBE, DECLINED, SENT (invited, no reply yet), or null on events you host. Filter on this to sync only the events you've accepted, e.g. partiful events list | jq '.data[] | select(.myRsvp == "GOING")'.
  • isHosttrue for events you own. (going/maybe are aggregate counts across all guests, not your status.)

Errors return { "status": "error", "error": { "code": 1, "type": "api_error", "message": "..." } }.

Exit codes: 0 success · 1 API error · 2 auth error · 3 validation · 4 not found · 5 internal.

Contributing

git clone https://github.com/KalebCole/partiful-cli && cd partiful-cli
npm install
npm link          # makes `partiful` available globally for testing
npm test          # run tests

License

MIT