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-analytics-fork

v0.1.5

Published

Show statistics for Koishi application (Fork with Day/Week/Month support)

Downloads

3,455

Readme

koishi-plugin-analytics-fork

基于官方 @koishijs/plugin-analytics 深度优化和改进的 Koishi 控制台图表统计插件。

✨ 新增功能

原版的统计插件只提供了一种大杂烩的单一时间流视图,本插件在此基础上进行了功能拆分与扩展:

  1. 时间跨度筛选:在历史消息图表中新增了 [日] [周] [月] 三种时间分度切换标签。你可以自由选择是查看按天波动的详细曲线,还是按周、按月聚合查看宏观数据走势。
  2. 并排双表视图:打破了原版单表卡中来回切换“发送/接收”的布局限制。在控制台的仪表盘中,由于大屏幕支持双栏排版,本插件将历史消息直接拆分为:
    • 左侧:历史消息接收数量图表
    • 右侧:历史消息发送数量图表
    充分利用宽屏的右侧空白区域,让你能够一眼同时对比机器人的收发热度。

📦 安装

如果这是你个人的 Koishi 实例,你可以直接使用 NPM 安装:

npm install koishi-plugin-analytics-fork

或者在 Koishi 插件市场中搜索并安装本插件。

⚙️ 配置

与原版插件配置项相同,在 Koishi 配置文件或网页端启用它:

plugins:
  analytics-fork: {}

注意:为了避免图表渲染槽冲突,安装此插件前,请确保你已经禁用或移除了原版的 analytics 插件

📝 作者

  • lumia.wang

📄 开源协议

AGPL-3.0