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

@llmpulse/cli

v0.1.0

Published

CLI client for the LLM Pulse AI visibility analytics API

Downloads

81

Readme

@llmpulse/cli

CLI client for the LLM Pulse AI visibility analytics API.

Installation

npm install -g @llmpulse/cli

Quick Start

# Configure your API key
llmpulse config set api_key llmpulse_your_key_here

# Check connectivity
llmpulse ping

# List your projects
llmpulse dimensions projects list

# Set a default project
llmpulse config set default_project_id 44

# Get weekly mentions timeseries
llmpulse metrics timeseries --metrics mentions --granularity week --range 30

# Get share of voice
llmpulse metrics sov --range 30

# List prompts as a table
llmpulse dimensions prompts -f table

# Export citations as CSV
llmpulse dimensions citations -f csv > citations.csv

# Fetch all mentions (auto-paginate)
llmpulse dimensions mentions --all -f csv > all-mentions.csv

Commands

| Command | Description | |---------|-------------| | config set/get/show | Manage CLI configuration | | ping | Check API connectivity | | dimensions projects | List/get projects | | dimensions competitors | List/get competitors | | dimensions collections | List collections/tags | | dimensions models | List AI models | | dimensions locales | List countries and languages | | dimensions prompts | List prompts | | dimensions executions | List prompt executions | | dimensions sources | List cited sources | | dimensions mentions | List brand mentions | | dimensions citations | List brand citations | | dimensions competitor-mentions | List competitor mentions | | dimensions competitor-citations | List competitor citations | | dimensions all-mentions | All mentions (brand + competitor) | | dimensions all-citations | All citations (brand + competitor) | | dimensions sentiments | Sentiment categories | | metrics timeseries | Time series metrics | | metrics summary | Aggregated metrics summary | | metrics prompt-summary | Per-prompt metrics | | metrics sov | Share of voice | | metrics top-sources | Top cited domains | | answers list | List AI responses | | answers get <id> | Get detailed response | | sentiments list | List sentiment records |

Global Flags

| Flag | Short | Description | |------|-------|-------------| | --api-key | -k | Override API key | | --base-url | | Override base URL | | --project-id | -p | Override default project | | --format | -f | Output: json (default), table, csv | | --page | | Page number | | --per-page | | Items per page (max 100) | | --all | | Auto-paginate all results | | --verbose | -v | Show request details |

Configuration

Configuration is stored in ~/.llmpulse/config.json. Values can be overridden with environment variables or CLI flags.

Priority: CLI flag > environment variable > config file > default

| Config Key | Environment Variable | Default | |------------|---------------------|---------| | api_key | LLMPULSE_API_KEY | — | | base_url | LLMPULSE_BASE_URL | https://api.llmpulse.ai/api/v1 | | default_project_id | LLMPULSE_PROJECT_ID | — |

Output Formats

  • JSON (default): Pretty-printed on TTY, compact when piped (for jq)
  • Table: Auto-sized columns, pagination info on stderr
  • CSV: Standard CSV with proper escaping
# Pipe JSON to jq
llmpulse metrics summary --metrics mentions,visibility | jq '.series'

# Export to CSV file
llmpulse dimensions prompts --all -f csv > prompts.csv

Requirements

  • Node.js >= 18
  • LLM Pulse API key (Scale plan or above)