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

rugbyclaw

v0.1.3

Published

Rugby scores, fixtures, and results CLI + OpenClaw skill

Readme

Rugbyclaw 🏉

A CLI tool for rugby scores, fixtures, and results powered by API-Sports Rugby API.

Clean architecture, reliable data, Rugby Union focus.

Features

  • Live scores — Today's matches across your favorite leagues
  • Fixtures — Upcoming matches with dates and times
  • Results — Recent results with personality-driven summaries
  • Team tracking — Follow specific teams across competitions
  • Calendar export — Add matches to your calendar (ICS format)

Documentation

📖 Full Documentation - Command reference, guides, and troubleshooting

Installation

npm install -g rugbyclaw

Quick Start

# Configure your preferences
rugbyclaw config

# Check today's scores
rugbyclaw scores

# Upcoming Top 14 fixtures
rugbyclaw fixtures top14

# Toulouse's next match
rugbyclaw team toulouse next

# Recent Champions Cup results
rugbyclaw results champions_cup

Setup

Run rugbyclaw config to configure your preferences:

  • No API key required (free mode uses a proxy with limits)
  • (Optional) add your API-Sports Rugby API key (get yours at api-sports.io)
  • Select favorite leagues (free mode is limited to default leagues)
  • (Optional) pick favorite teams
  • Set your timezone (IANA name like America/New_York)

Tip (automation/agents): override timezone per command:

rugbyclaw --tz America/New_York fixtures

API key is stored securely in ~/.config/rugbyclaw/secrets.json (mode 600).

Commands

rugbyclaw config

Interactive setup wizard:

  • Choose free mode (default) or add an API key (optional)
  • Select favorite leagues
  • (Optional) add favorite teams
  • Set your timezone

rugbyclaw scores

Show today's matches across your favorite leagues.

rugbyclaw scores
rugbyclaw scores --json  # JSON output for scripts

rugbyclaw fixtures [league]

List upcoming matches.

rugbyclaw fixtures              # All favorites
rugbyclaw fixtures top14        # Specific league
rugbyclaw fixtures -n 10        # Limit to 10 matches

rugbyclaw results [league]

Show recent results with personality-driven summaries.

rugbyclaw results
rugbyclaw results premiership

rugbyclaw team <name> <action>

Query a specific team.

rugbyclaw team toulouse next    # Next match
rugbyclaw team toulouse last    # Last result
rugbyclaw team search racing    # Find team ID

rugbyclaw calendar <match_id>

Export a match to ICS calendar format.

rugbyclaw calendar 123456 --stdout > match.ics
rugbyclaw calendar 123456 --out ~/Desktop/match.ics

rugbyclaw notify

Generate notifications for cron/OpenClaw integration.

rugbyclaw notify --weekly   # Weekly digest
rugbyclaw notify --daily    # Day/hour reminders
rugbyclaw notify --live     # Live score updates

rugbyclaw status

Show current mode (free vs API key), timezone, and effective leagues.

rugbyclaw status
rugbyclaw status --json

Supported Leagues

8 competitions covered:

Club Competitions (5)

| Slug | League | |------|--------| | top14 | Top 14 (France) | | premiership | Premiership Rugby (England) | | urc | United Rugby Championship (Multi-nation) | | pro_d2 | Pro D2 (France) | | super_rugby | Super Rugby Pacific (Southern Hemisphere) |

European Cups (2)

| Slug | League | |------|--------| | champions_cup | European Rugby Champions Cup | | challenge_cup | European Rugby Challenge Cup |

International (1)

| Slug | League | |------|--------| | six_nations | Six Nations |

OpenClaw Integration

Rugbyclaw includes an OpenClaw skill for AI-powered natural language queries and proactive notifications.

See skill/SKILL.md for integration details.

JSON Output

All commands support --json for machine-readable output:

rugbyclaw scores --json | jq '.matches[0]'

Configuration Files

  • ~/.config/rugbyclaw/config.json — User preferences (leagues, teams, timezone)
  • ~/.config/rugbyclaw/secrets.json — API key (mode 600)
  • ~/.cache/rugbyclaw/ — Response cache (SWR caching for performance)

Technical Details

  • Data Provider: API-Sports Rugby API (sole provider)
  • Architecture: TypeScript, ES modules, Commander.js CLI
  • Caching: SWR (stale-while-revalidate) for performance
  • Season Detection: Smart season detection per competition type
  • Focus: Rugby Union only

License

MIT