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 🙏

© 2025 – Pkg Stats / Ryan Hefner

koishi-plugin-pointmintmarket-ncm

v0.1.2

Published

提供网易云音乐积分兑换服务

Readme

koishi-plugin-pointmintmarket-ncm

npm

这是一个可以依赖于 PointmintMarket 的网易云音乐插件,开启插件后会自动注册商品。

功能特点

  • 支持通过积分兑换网易云音乐歌曲
  • 支持多种音质选择(标准、较高、极高、无损、Hi-Res等)
  • 支持分页浏览搜索结果
  • 支持自定义歌曲列表和单曲显示样式
  • 支持cookie、游客等登录方式

安装方法

在 Koishi 控制台中搜索并安装 pointmintmarket-ncm

前置依赖

本插件依赖以下服务:

配置项

兑换设置

| 配置项 | 类型 | 默认值 | 说明 | |-------|------|-------|------| | name | string | 'ncm' | 商品名称 | | description | string | '兑换来自网易云的音乐' | 默认商品描述 | | tags | string[] | ['ncm', '网易云'] | 默认商品标签 | | waitTime | number | 60000 | 兑换等待时间(毫秒) |

登录设置

| 配置项 | 类型 | 默认值 | 说明 | |-------|------|-------|------| | loginType | string | 'anonimous' | 登录方式,支持 'cookie'、'anonimous'(游客) | | login_cookie | string | - | 用于登录的cookie(当 loginType 为 'cookie' 时必填) |

Ncm核心配置

| 配置项 | 类型 | 默认值 | 说明 | |-------|------|-------|------| | max_search_num | number | 25 | 最大搜索数量 | | max_songs_per_page | number | 3 | 每页歌曲数量 | | songListStyle | string | '歌曲列表:\n{songs}\n第{page}页/共{total}页\nnext下一页,prev上一页,exit退出' | 歌曲列表样式 | | songStyle | string | '{index}. {name} - {ar.name} {al.pic}' | 单个歌曲样式 | | picSize | number[] | [200, 200] | 图片尺寸(长x宽) | | quality | string | 'standard' | 音质等级 | | outputMode | string[] | ['voice'] | 输出模式,可多选 |

音质等级选项

  • standard: 标准
  • higher: 较高
  • exhigh: 极高
  • lossless: 无损
  • hires: Hi-Res
  • jyeffect: 高清环绕声
  • sky: 沉浸环绕声
  • dolby: 杜比全景声(需要cookie的os=pc以保证码率正常)
  • jymaster: 超清母带

使用方法

  1. 安装并启用本插件及其依赖
  2. 配置插件参数,特别是登录相关设置
  3. 用户可通过 PointmintMarket 插件提供的商店界面购买并兑换网易云音乐

兑换流程

  1. 用户购买商品后,根据提示输入歌曲名或歌手
  2. 系统返回搜索结果,并分页显示
  3. 用户可以通过输入数字选择歌曲,或输入 next/prev 翻页,或输入 exit 退出
  4. 选择歌曲后,系统会返回歌曲链接和音频信息