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-error-book

v1.0.1

Published

错题本插件,用来应付QQ官方机器人过审

Readme

Koishi 错题本插件

一个用于记录和管理错题的 Koishi 插件,帮助学生整理和复习错题,提高学习效率。

功能特点

  • 📝 添加错题并分类管理
  • 📚 按科目和标签筛选查看错题
  • 🔍 查看错题详细信息
  • 📊 错题数量统计
  • 🔄 随机复习功能(5分钟后提示答案)
  • 🗑️ 支持删除单条错题或清空整个错题本

安装方法

将插件文件放置于 Koishi 项目的插件目录中

在 Koishi 配置文件中添加插件:

plugins:
  question-book:

使用方法

添加错题

添加错题 "问题内容" "答案内容" -s 科目名 -t 标签1,标签2

示例:

添加错题 "水的沸点是多少度?" "100摄氏度" -s 物理 -t 热学,基础

查看错题列表

错题列表

可选参数:

  • -s <科目>:按科目筛选
  • -t <标签>:按标签筛选

查看错题详情

查看错题 <序号>

示例:

查看错题 1

删除错题

删除错题 <序号>

示例:

删除错题 2

随机复习错题

复习错题

可选参数:

  • -s <科目>:指定科目复习

查看错题统计

错题统计

清空错题本

清空错题本

命令列表

| 命令 | 参数 | 描述 | |------|------|------| | 添加错题 | <题目:text> <答案:text> | 添加一道错题到错题本 | | 错题列表 | [-s 科目] [-t 标签] | 查看错题列表 | | 查看错题 | <序号:number> | 查看指定错题的详情 | | 删除错题 | <序号:number> | 删除指定错题 | | 复习错题 | [-s 科目] | 随机抽取一道错题进行复习 | | 错题统计 | 无 | 按科目统计错题数量 | | 清空错题本 | 无 | 清空所有错题 |

注意事项

  • 错题数据存储在数据库中,更换服务器或重置数据库会导致数据丢失
  • 复习功能会在5分钟后自动发送答案提示
  • 每个用户的错题本是独立的,不会互相干扰

开发信息

  • 插件名称:question-book
  • 依赖:Koishi 框架
  • 数据库:使用 Koishi 内置数据库支持

更新日志

v1.0.0

  • 初始版本发布
  • 实现基本错题管理功能

反馈与支持

如有问题或建议,请通过相应渠道联系开发者。