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

@sfmc-bds/module-chat

v0.2.1

Published

SAPI module: 聊天管道中枢

Readme

@sfmc-bds/module-chat

Wave B official SFMC module: chat(聊天管道中枢)。

功能

  • 公共频道、自建频道(可全体禁言,仅频道主和管理员可发言)和持久私聊频道
  • 频道订阅、快速切换、慢速模式、历史消息与玩家偏好持久化
  • 定位、传送邀请和 QQ 双向桥接
  • 频道与私信文字模板及五分钟分段时间戳
  • /c:chat、/c:tell 与 /c:tp 打开的页面均由 sapi/src/ui/*.ui.json 声明,业务操作通过纯数据 service 执行

配置

每个聊天频道的设置页可单独开关「转发到 QQ」,新频道默认开启。转发时使用频道自己的显示前缀。QQ 群消息进入内置的 qq 频道;该频道默认向所有玩家订阅,且所有玩家(包括管理员)都不能在频道内发言。

  • title_prefix:玩家名前的额外称号前缀,默认关闭。
  • color_codes:是否允许消息中的 § 色码。
  • bridge_poll_ticks:QQ→MC 入站消息轮询周期,默认 600 tick。
  • avatar_glyphs_enabled:头像字形开关。当前包尚未携带旧版动态图集资源,默认关闭,避免客户端显示缺字方框。

旧版头像字形依赖单独的皮肤中继、图集烘焙和资源包部署链路;该链路完整迁移前不应开启头像字形。

Develop

pnpm install
pnpm run typecheck
pnpm run test

Install into platform:

sfmc mod install chat --from dir:. --link