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

koishi-plugin-igc-alert

v1.0.0

Published

IGC 联盟跨平台通知插件,支持 QQ 和 Discord 双平台发送,多预设,双语(中/英)

Readme

koishi-plugin-igc-alert

IGC 联盟跨平台通知插件。在 QQ 或 Discord 发送指令,同时将通知推送到多个 QQ 群和 Discord 频道,支持中英双语、@全体成员 / @everyone。

功能

  • 支持 QQ(OneBot)和 Discord 双平台触发
  • 普通消息指令 + Discord Slash Command 双模式
  • 每个预设独立配置触发来源和发送目标
  • 每个发送目标独立选择语言(中文 / 英文)
  • @全体成员 / @everyone 开关
  • 支持 {param} 占位符传递动态参数(如星系名、时间)
  • 全部在 Koishi 控制台图形化配置,无需改代码

安装

在 Koishi 控制台插件市场搜索 igc-alert 安装,或:

npm install koishi-plugin-igc-alert

使用

触发方式(指令前缀默认 alert,可在设置里修改):

/alert hostile GE-8JV
/alert cta GE-8JV
/alert stratop GE-8JV 21:00
/alert standown
/alert                    ← 列出所有预设

Discord Slash Command:

/alert-slash hostile GE-8JV

配置

在 Koishi 控制台启用插件后,可图形化配置:

  • 指令前缀:触发指令的前缀,默认 alert
  • 授权用户 ID:允许触发指令的 QQ号 / Discord用户ID,留空不限制
  • 通知预设:可自由增删,每条预设包含:
    • 预设名称(触发词)、备注、参数列表
    • 中文内容 / 英文内容(支持 {param} 占位符)
    • 触发来源(限定哪些群/频道可以触发,留空不限制)
    • 发送目标(目标平台、频道ID、语言、是否@全体)

示例预设

内置示例(可直接在控制台修改):

| 触发词 | 参数 | 说明 | |--------|------|------| | hostile | <system> | 敌对活跃预警 | | cta | <system> | 强制集结 | | ping | <system> | 普通集结 | | stratop | <system> <time> | 战略行动通知 | | standown | 无 | 解除警报 | | evac | <system> | 紧急撤离 |

License

MIT