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

@selvo/cli

v0.1.1

Published

Selvo CLI — manage your help center from the terminal

Readme

selvo

Manage your Selvo help center from the terminal.

npx @selvo/cli login
npx @selvo/cli articles list
npx @selvo/cli articles create --title "Getting Started" --collection col_xxx --file ./article.md

Install

npm install -g @selvo/cli

Or run directly with npx:

npx @selvo/cli <command>

Quick Start

# Authenticate with your API key (from Settings → API Keys)
selvo login

# Check your setup
selvo doctor

# List articles
selvo articles list

# Create an article from a markdown file
selvo articles create --title "Install Widget" --collection col_xxx --file ./docs/install.md --status published

# View an article
selvo articles get 1

Commands

Auth

selvo login                    # Authenticate with your API key
selvo logout                   # Remove credentials
selvo whoami                   # Show current profile and help center
selvo doctor                   # Run diagnostic checks
selvo auth list                # List all profiles
selvo auth switch <profile>    # Switch active profile

Articles

selvo articles list                              # List all articles
selvo articles get <id>                          # Get article by ID or number
selvo articles create --title "..." --collection col_xxx  # Create article
selvo articles update <id> --title "New Title"   # Update article
selvo articles delete <id>                       # Delete article
selvo articles publish <id>                      # Publish article
selvo articles unpublish <id>                    # Unpublish article
selvo articles move <id> --collection col_yyy    # Move to collection
selvo articles search "query"                    # Search articles
selvo articles content update <id> --operation append --content "## New Section"

Collections

selvo collections list                           # List all collections
selvo collections get <id>                       # Get collection with articles
selvo collections create --name "Getting Started"  # Create collection
selvo collections update <id> --name "New Name"  # Update collection
selvo collections delete <id>                    # Delete collection

Help Center

selvo help-center get                            # View help center info
selvo help-center update --name "New Name"       # Update settings

Domains

selvo domains list                               # List custom domains
selvo domains create --hostname help.example.com # Add custom domain
selvo domains verify <id>                        # Verify domain
selvo domains delete <id>                        # Remove domain

Analytics

selvo analytics overview --period 30d            # Dashboard KPIs
selvo analytics visits --period 7d               # Daily visit data
selvo analytics articles                         # Per-article analytics
selvo analytics search                           # Search analytics
selvo analytics feedback                         # Feedback stats

Messages

selvo messages list                              # List contact messages
selvo messages get <id>                          # View message
selvo messages read <id>                         # Mark as read
selvo messages delete <id>                       # Delete message

Global Flags

| Flag | Description | |------|-------------| | --api-key <key> | Override API key for this request | | -p, --profile <name> | Select credentials profile | | --json | Force JSON output | | -q, --quiet | Suppress stderr, implies --json | | --base-url <url> | Override API base URL |

Multi-Profile

The CLI supports multiple profiles for different help centers or environments:

# Login to production
selvo login
# → Stored as "default" profile

# Login to staging
selvo login --key sk_staging_xxx --base-url http://localhost:3000
# → Choose profile name: "staging"

# Switch between profiles
selvo auth switch staging
selvo auth switch default

# List all profiles
selvo auth list

Credentials are stored in ~/.config/selvo/credentials.json.

For AI Agents

The CLI outputs structured JSON when piped or when --json is passed:

# JSON output for scripts
selvo articles list --json | jq '.articles[].title'

# Quiet mode for CI (no spinners, no prompts)
selvo articles create --title "Auto Doc" --collection col_xxx --file ./doc.md -q

License

MIT