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-ce/plugin-notifier

v1.0.2

Published

Notifier service for Koishi

Downloads

448

Readme

@koishi-ce/plugin-notifier

简体中文 | English

控制台通知中心插件,移植自上游 koishijs/webuiplugins/notifier。它提供两种通知形态——显示在插件详情页的常驻通知条,以及向所有已连接控制台广播的即时消息——并以 notifier 服务(ctx.notifier)供其他插件调用。

功能与页面

本插件没有独立页面:插件详情页插槽展示该插件的常驻通知;即时消息广播到浏览器后弹出消息条,路由切换时自动关闭。

服务 API:

  • ctx.notifier.create(options):创建一条常驻通知,返回 Notifier 实例,可用 update(options) 更新、dispose() 移除。typeprimary / success / warning / danger(对应提示条配色);content 支持字符串或元素片段(可含按钮),按钮回调登记在服务端、浏览器点击时经 notifier/button 事件回传执行。
  • ctx.notifier.message(options):向所有已连接的控制台广播一条即时消息通知。

配置项

本插件无需配置。

用法

需要先启用 console(@koishi-ce/plugin-console)。安装:

bun add @koishi-ce/plugin-notifier

也可以在控制台的插件市场中直接安装。随后在配置文件中启用:

plugins:
  notifier: {}

备注

  • 按钮回调无法跨进程序列化,因此以随机 key 传给浏览器、点击时回调;通知更新时旧回调自动清理。
  • 无指令、无数据表。

许可证

AGPL-3.0。版权归 Shigma 及 Koishijs 贡献者(上游)与 Koishi-CE 贡献者,见 NOTICE。上游仓库:koishijs/webuiplugins/notifier


English

Console notification center plugin, ported from plugins/notifier of the upstream koishijs/webui repository. It provides persistent notification bars on plugin detail pages and instant messages broadcast to every connected console, exposed as the notifier service (ctx.notifier).

Features

No standalone page: a plugin-details slot shows persistent notifications; instant messages pop up as message bars, closed automatically on route change. Service API:

  • ctx.notifier.create(options): creates a persistent notification; update with update(options), remove with dispose(). type is primary / success / warning / danger; content accepts strings or element fragments (buttons allowed — click callbacks are registered server-side and invoked via the notifier/button event).
  • ctx.notifier.message(options): broadcasts an instant message to all connected consoles.

Configuration

None.

Usage

Requires console (@koishi-ce/plugin-console) to be enabled first.

bun add @koishi-ce/plugin-notifier

The plugin can also be installed from the console plugin market, then enabled in the config file:

plugins:
  notifier: {}

Notes

  • No commands, no tables.

License

AGPL-3.0. Copyright belongs to Shigma and Koishijs contributors (upstream) and Koishi-CE contributors; see NOTICE. Upstream: koishijs/webui, plugins/notifier.