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

limitless-cli

v0.1.0

Published

CLI for the Limitless TCG public API (tournaments, games, and more).

Downloads

138

Readme

limitless-cli

Command-line interface for the Limitless TCG public API: tournaments, games, and related data.

  • API documentation: https://docs.limitlesstcg.com/developer.html
  • Install (npm package limitless-cli; binary on your PATH is ltcg):
    • npm i -g limitless-cli or pnpm add -g limitless-cli or yarn global add limitless-cli
  • Run without install: npx -p limitless-cli ltcg --help

Quick start

# Version
ltcg --version

# List supported games (no API key required)
ltcg game list

# List recent tournaments
ltcg tournament list --limit 10

# Filter tournaments
ltcg tournament list --game PTCG --format STANDARD --page 1

# Tournament details, standings, pairings
ltcg tournament get <tournament-id>
ltcg tournament standings <tournament-id>
ltcg tournament pairings <tournament-id>

# Deck categorization rules (requires an approved API key)
export LIMITLESS_API_TOKEN=...   # or: ltcg config --token ...
ltcg game decks PTCG --output json

Config (optional)

Most endpoints work without an API key. A key is required for GET /games/{id}/decks and may increase rate limits.

# Interactive: save API token
ltcg config

# Non-interactive
ltcg config --token YOUR_KEY
ltcg config --show    
ltcg config --path    
ltcg config --unset

Auth precedence (highest first): --api-keyLIMITLESS_API_TOKEN → saved config from ltcg config.
The flag does not write to disk.

Global options

| Option | Description | |--------|-------------| | --api-key <key> | API key for this run only (not saved) | | -o, --output <fmt> | json | table | raw (default: json) | | --no-color | Disable ANSI colors | | -V, --version | Print CLI version | | -h, --help | Help (also ltcg help and ltcg <cmd> --help) |

Environment

| Variable | Purpose | |----------|---------| | LIMITLESS_API_TOKEN | Default API key when --api-key is not set |

Troubleshooting

  • Error: API key is required on game decks: Request a key on API settings, then ltcg config --token or set LIMITLESS_API_TOKEN / ltcg game decks PTCG --api-key ....
  • Empty or unexpected JSON shape: The API is game-specific for some fields; see the developer docs and src/core/schemas/.
  • Rate limits: The CLI retries 429 responses with backoff. Consider an API key for higher limits.

License

MIT