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

@ha7ch/worldcup-pro

v0.2.0

Published

用 Claude Code 追 2026 世界杯 — 赛程/比分/积分/出线形势,零依赖直连 CLI。个人使用。

Readme

worldcup-pro · 世界杯PRO

用 Claude Code / Codex / Cursor 追 2026 FIFA 世界杯(美·加·墨,6/11–7/19,48 队 104 场)。 零依赖直连 CLI——赛程 / 比分 / 积分 / 出线形势,AI 负责陪你聊,CLI 负责把对话锚定在真实数据上。

个人工具:非 FIFA/ESPN 官方、未获授权。默认从各源公开端点直连取数(每次在你本机、用你的 IP,零中心缓存/转发)。数据可能延迟或失效,仅供参考。

把下面这段粘进 Claude Code / Codex / Cursor:

跑 `npx @ha7ch/worldcup-pro@latest help` 把命令摸清楚,帮我追 2026 世界杯。

先问我:支持哪支球队、关注小组赛还是淘汰赛、所在时区。
然后用 CLI 拉真实数据:today 看今日赛况、schedule 查赛程、standings 看积分榜、team 追我的队。
比分默认走 ESPN 实时(非官方);想要可再分发的干净源用 --source openfootball(CC0);离线用 --offline。
每条结论都引用 CLI 返回的真实数字,别凭记忆编。

安装

npx @ha7ch/worldcup-pro@latest help
# 或
npm install -g @ha7ch/worldcup-pro

命令

worldcup-pro today                      # 今日赛况(无赛则跳到下一个比赛日)
worldcup-pro schedule --date 2026-06-11 # 某日赛程
worldcup-pro schedule --group A         # 某组全部赛程
worldcup-pro standings --group A        # 积分榜(实时 ESPN)
worldcup-pro team Argentina             # 某队赛程/战绩
worldcup-pro groups                     # 小组分组(随包离线)
worldcup-pro sources                    # 列数据源
worldcup-pro selftest                   # 各源接通自检

数据源(按 license 分层 · 可一键换源)

| 源 | --source | License | 角色 | |---|---|---|---| | openfootball | openfootball | CC0 公共领域(可再分发,随包内嵌离线兜底) | 赛程/分组真源 | | ESPN | espn(默认查比分) | 非官方公开端点(个人使用,零中心缓存) | 实时比分/积分/事件 | | TheSportsDB | thesportsdb | 免费档(需署名) | 赛后比分备源 | | 随包快照 | --offline | CC0 | 离线,永远可用 |

数据源顺序:指定某天→ ESPN→TheSportsDB→openfootball→offline;浏览全赛程→ openfootball→offline;积分榜→ ESPN→openfootball→offline。每次输出都带 sources[] 诚实披露用了哪个源、是否实时。

每日定时简报(用户侧调度,零服务器)

用 Claude Code 的 /schedule 建一条云端 routine(机器关机也跑),每天北京时间约 8:00 触发:

/schedule daily at 8:00am Asia/Shanghai
跑 npx @ha7ch/worldcup-pro@latest today,把今天的世界杯赛果、积分变化、今晚看点
总结成 3-5 条,推送给我。

数据来源与版权

赛程/分组数据来自 openfootball/worldcup.json(CC0 公共领域)。实时比分来自 ESPN / TheSportsDB 公开端点,仅供个人参考、不作再分发/商用。