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-daily-sign

v1.0.1

Published

每日签到插件:每个用户每天可签到一次,获得随机数量货币,支持自定义货币名称与奖励上下限

Downloads

262

Readme

koishi-plugin-daily-sign

每日签到插件:每个用户每天可签到一次,获得随机数量货币。支持自定义货币名称与奖励上下限,与 koishi-plugin-monetary 配合使用。

功能

  • 每人每天仅可签到一次
  • 签到获得随机数量货币(在配置的上下限之间,含两端)
  • 可配置:货币名称、奖励最小值、奖励最大值、签到指令名

依赖

  • database:记录每人上次签到日期
  • monetary:发放货币(需先安装并启用)

安装与配置

在 Koishi 插件市场搜索 daily-sign 安装,或:

npm i koishi-plugin-daily-sign
# 或
yarn add koishi-plugin-daily-sign

在配置中启用插件并填写参数,例如:

plugins:
  daily-sign:
    commandName: 签到      # 指令名,默认「签到」
    currency: default          # 货币名称,与 monetary / 21 点等插件中一致
    minReward: 10          # 随机奖励最小值(含)
    maxReward: 50          # 随机奖励最大值(含)

使用

用户发送配置的指令(默认 签到)即可。当日首次签到会提示「签到成功!获得 X 猫粮。」并加钱;同一天再次签到会提示「今日已签到过了,明天再来吧~」。

发布到插件市场

  1. package.json 中的 repository / bugs / homepageyour-username 改为你的 GitHub 用户名或组织名。
  2. 在项目根目录执行 npm run build 生成 lib/
  3. 登录 npm:npm login
  4. 发布:npm publish
  5. 发布后可在 Koishi 控制台「插件市场」中搜索到(依赖 npm 包名与 koishi 字段)。

License

MIT