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-surprise-box

v1.0.1

Published

一个充满惊喜的Koishi娱乐插件,包含四个创意十足的指令

Readme

koishi-plugin-surprise-box

npm

一个充满创意的Koishi娱乐插件,包含四个独特的指令,带给用户意想不到的惊喜体验。

🌟 特色

这个插件提供了四个富有创意的娱乐指令,每个指令都有其独特的功能和体验:

  1. 时空穿越 - 体验不同时代的生活
  2. 平行宇宙 - 探索平行世界中的自己
  3. 思维实验 - 参与经典哲学思维实验
  4. 命运骰子 - 用神秘的骰子回答你的问题

📦 安装

npm install koishi-plugin-surprise-box

或在Koishi插件市场中搜索"surprise-box"安装。

🚀 使用方法

时空穿越 (timeleap)

让用户"穿越"到指定的年份,体验那个时代的生活。

timeleap 2077
timeleap 1920 -m immersive
timeleap 3000 -m observer -d 30

参数:

  • [year]: 想要穿越到的年份
  • -m <mode>: 体验模式 (normal/immersive/observer)
  • -d <duration>: 停留天数

平行宇宙 (parallel)

探索平行宇宙中的另一个自己。

parallel
parallel 魔法宇宙
parallel 赛博朋克 -d

参数:

  • [universe]: 平行宇宙名称 (可选)
  • -d: 显示详细信息

可用的平行宇宙:

  • 魔法宇宙
  • 蒸汽朋克
  • 赛博朋克
  • 后启示录
  • 海盗时代
  • 恐龙共存

思维实验 (thoughtexp)

体验经典的哲学思维实验。

thoughtexp
thoughtexp 电车难题

参数:

  • [experiment]: 思维实验名称 (可选)

可用的思维实验:

  • 电车难题
  • 中文房间
  • 忒修斯之船
  • 薛定谔的猫
  • 大脑在缸中

命运骰子 (fatedice)

用神秘的命运骰子回答你的问题。

fatedice 我今天会有好运吗?
fatedice 我应该换工作吗? -c

参数:

  • <question>: 你想问的问题
  • -c: 使用复杂模式,提供更详细的命运解读

⚙️ 配置

插件提供以下配置选项:

  • fortuneApiKey: 命运预测API密钥 (可选)
  • timeoutSeconds: 命令超时时间 (默认: 30秒)
  • maxRiddles: 谜语库最大数量 (默认: 100)
  • enableAllCommands: 是否启用所有命令 (默认: true)

📝 许可证

MIT