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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@el_saintt/cli

v1.0.0

Published

CLI tool for @el_saintt/core - Setup, test, and validate portfolio API configuration

Readme

@el_saintt/cli

Command Line Interface for Portfolio API - Setup, test, and validate portfolio configurations.

Installation

npm install -g @el_saintt/cli

Usage

Initialize Configuration

npx @el_saintt/cli init

Interactive setup that guides you through:

  • Selecting services to configure
  • Entering credentials
  • Generating configuration files
  • Creating environment files

Test API Connections

# Test all configured services
npx @el_saintt/cli test

# Test specific service
npx @el_saintt/cli test github

# Test with sample data fetching
npx @el_saintt/cli test --fetch

Validate Configuration

npx @el_saintt/cli validate

Checks:

  • Configuration file syntax
  • Environment variables
  • Credential formats
  • Service-specific validation

Generate TypeScript Types

npx @el_saintt/cli types

Creates type-safe helpers for your configured services.

Show Service Information

npx @el_saintt/cli info github

Displays detailed information about a specific service plugin.

List Available Plugins

npx @el_saintt/cli plugins

Shows which plugins are installed, configured, and available.

Commands

| Command | Description | |---------|-------------| | init | Initialize portfolio configuration | | test [service] | Test API connections | | validate | Validate configuration | | types | Generate TypeScript types | | info <service> | Show service information | | plugins | List available plugins |

Options

| Option | Description | |--------|-------------| | -v, --verbose | Enable verbose output | | --json | Output results as JSON | | -c, --config <path> | Path to configuration file | | -e, --env <path> | Path to environment file |

Examples

Quick Start

# Initialize configuration
npx @el_saintt/cli init

# Test connections
npx @el_saintt/cli test

# Generate types
npx @el_saintt/cli types

Non-Interactive Setup

npx @el_saintt/cli init --no-interactive --services github medium

JSON Output

npx @el_saintt/cli test --json
npx @el_saintt/cli validate --json

Configuration Files

The CLI generates several files:

  • portfolio.config.ts - Main configuration
  • .env.example - Environment variable template
  • .env.local - Your actual credentials (optional)
  • portfolio.types.ts - TypeScript types (optional)

Troubleshooting

Common Issues

  1. Configuration not found

    npx @el_saintt/cli init
  2. Invalid credentials

    npx @el_saintt/cli validate
  3. Service not responding

    npx @el_saintt/cli test --verbose

Getting Help

npx @el_saintt/cli --help
npx @el_saintt/cli <command> --help

Development

# Build
pnpm build

# Test
pnpm test

# Watch mode
pnpm dev