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-huohuo-music

v1.1.6

Published

这是一个星穹铁道藿藿的点歌插件

Readme

koishi-plugin-huohuo-music

🎵 藿藿歌单管理系统 - Koishi音乐插件

功能特点

  • 完整歌单浏览(文本/图片模式)
  • 智能歌曲搜索与点播
  • 分页显示歌单内容
  • 支持Puppeteer生成精美歌单图片
  • 响应式设计适配多平台

安装

npm install koishi-plugin-huohuo-music

配置项
ts
export interface Config {
  backgroundImage: string    // 歌单背景图URL
  maxSongsPerPage: number   // 每页显示歌曲数量 (默认20)
  usePuppeteer: boolean     // 是否使用Puppeteer生成图片 (默认true)
}
使用说明
查看歌单
歌单 [页码] - 查看指定页码的歌单
歌单 -t - 文本模式查看歌单

点播歌曲
点歌 <歌曲ID/名称> - 按ID或名称点歌
点歌 <关键词> -l - 列出匹配的歌曲

注意事项
如需使用图片歌单功能,请确保安装Puppeteer依赖:

bash
npm install puppeteer
插件需要以下服务:

文件服务 (file)

HTTP服务 (http)

Puppeteer服务 (puppeteer)

效果展示
https://img.freepik.com/free-vector/musical-notes-frame-with-text-space_1017-32857.jpg

text

### 项目结构说明
huohuo-music-plugin/
├── index.ts # 插件主文件 (你提供的内容)
├── package.json # 项目配置和依赖
├── tsconfig.json # TypeScript编译配置
└── README.md # 插件文档

text

### 使用说明
1. 创建项目目录并添加上述文件
2. 安装依赖:
```bash
npm install
编译项目:

bash
npm run build
发布插件:

bash
npm publish
注意事项
发布前确保在package.json中更新版本号

确保npm login已登录到正确的npm账号

插件运行时需要Koishi的文件服务(file)和HTTP服务(http)支持

如需使用Puppeteer图片生成功能,需额外安装:

bash
npm install puppeteer @types/puppeteer