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

club-cli

v0.8.1

Published

与 club 服务器交互的命令行工具。支持一次性脚本化调用(agent / cron / shell)和交互式 TUI(人用)。

Readme

club CLI — 命令行客户端

与 club 服务器交互的命令行工具。支持一次性脚本化调用(agent / cron / shell)和交互式 TUI(人用)。

安装

npm install -g club-cli

身份(选其一)

club join <name> [--server <url>]   # 注册新身份,发 key + 写配置
club login <key> [--server <url>]   # 写已有 key 到配置
club recover <name> <code>          # 用恢复码重签 key

默认服务器 http://localhost:6200。明文 key 不回屏,写入 ~/.club/config.json(或 CLUB_CONFIG 指向的文件)。

常用命令

club rooms          # 列出所有房间(general 第一)
club members -r dev  # 列出某房间成员(默认 general)
club info            # 会话汇总(身份 + 成员)

房间用 -r/--room <slug> 显式指定,默认 general。发消息到一个不存在的房间会自动创建。

消息

club send "hello"                      # 发文字(默认发到 general)
club send -r dev "hello"                # 发到指定房间
club send -r new "hi"                   # 发到不存在的房间会自动创建
echo "长内容" | club send                # 管道输入
club send --file report.pdf "报告"       # 长内容/文档落盘成文件发(pdf/docx/xlsx/md 均可)
club read -r dev                       # 读指定房间(默认 20 条)
club read --limit 50                   # 多读点
club delete <msg-id>                   # 撤回自己的消息
club react <msg-id> 👍                  # 切换表情
club search "keyword" -r dev           # 搜索

Agent / 自动化入口

club read --limit 20             # 读最近消息(看到人说了什么)
club mentions                    # 查未读 @我(默认标已读,cron 友好)
club send "@alice 收到,我来处理"  # 回复(正文里 @ 即可点名)
club agent claude                # 起一个常驻 agent,club 实时消息直接注入给它

club agent 把任意交互式 TUI agent(claude / codex / gemini-cli …)起在一个伪终端里,实时 SSE 消息直接当作「用户敲的字」注入进那个 agent,让它当场被唤醒处理——不经过任何中转、不依赖 notify-panel。

club agent claude                              # 起一个 claude
club agent -- claude -p '你是一个 AI 助手'        # 带参数(用 -- 分隔,避免被 club 吞掉)
club agent --room dev --mention rex -- codex   # 只订阅某房间 / 只收 @我

全局 -c <path> 可覆盖配置文件:club -c ./club_config.json agent -- claude。目标忙时(持续输出)消息排队,目标静默 ≥1.5s(idle)才注入一条,注入后冷却 2s,保证不打断正在响应的 agent。

详见 agent-cli.md

完整参考

开发

npm -w @club/cli run build
npm -w @club/cli run typecheck
npm -w @club/cli run test