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

vista-social-cli

v1.0.0

Published

Vista Social API client and CLI for Claude Code

Readme

Vista Social CLI

CLI and Claude Code skills for the Vista Social API. Manage profiles, posts, analytics, and inbox from the terminal or let Claude do it for you.

Quick Start

# 1. Install globally
npm install -g vista-social-cli

# 2. Set up skills in your project
cd your-project
vista init

# 3. Add your API key to .env
echo "VISTA_SOCIAL_API_KEY=your_key_here" >> .env

# 4. Try it
vista profiles --format table

Get your API key from Vista Social Settings > Integrations.

Each project uses its own .env — keys are never shared across repos.

Commands

| Command | Description | |---------|-------------| | vista profiles | List connected social profiles | | vista groups | List profile groups | | vista posts list | List posts by status (published/scheduled/draft/failed) | | vista posts create | Create or schedule a post | | vista comments list | List comments on a post | | vista comments create | Comment on a post | | vista analytics daily | Daily performance metrics | | vista analytics posts | Per-post performance metrics | | vista inbox list | List inbox items (comments, mentions, messages) | | vista inbox reply | Reply to an inbox item |

Global Options

  • --format json|table — output format (default: json)
  • --verbose — log HTTP request details to stderr
  • --dry-run — preview write operations without executing (posts create, comments create, inbox reply)

Examples

# List all profiles
vista profiles --format table

# Find a profile by name
vista profiles --query "Instagram"

# Last 7 days analytics
vista analytics daily --profile-id 470558 --last-7-days --format table

# Last 30 days post performance
vista analytics posts --profile-id 470558 --last-30-days

# Create a post (dry-run first)
vista posts create --message "Hello world!" --profile "Acme Facebook" --publish-at now --dry-run
vista posts create --message "Hello world!" --profile "Acme Facebook" --publish-at now

# List inbox
vista inbox list --format table

Claude Code Skills

Run vista init in any project to install 4 Claude Code skills into .claude/skills/:

| Skill | Auto-invokes? | What it does | |-------|---------------|-------------| | vista-profiles | Yes | Profile and group lookup | | vista-analytics | Yes | Daily and post performance metrics | | vista-posts | No (write safety) | Post and comment management | | vista-inbox | No (write safety) | Inbox and reply management |

Read skills (profiles, analytics) auto-invoke from natural language — just say "show me my profiles" or "how did my posts perform last week".

Write skills (posts, inbox) require explicit invocation and always use --dry-run first for confirmation before executing.

Programmatic Usage

import { VistaClient } from 'vista-social-cli';

const client = new VistaClient({ apiKey: process.env.VISTA_SOCIAL_API_KEY });

const profiles = await client.getProfiles({ q: 'Instagram' });
const daily = await client.getDailyPerformance({
  profile_id: 470558,
  date_from: '20260301',
  date_to: '20260331',
});

Development

npm run build      # Build with tsdown
npm test           # Run 172 tests
npm run dev        # Run CLI via tsx (no build needed)
npm run typecheck  # TypeScript type checking

License

MIT -- see LICENSE for details.