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

@neteasecloudmusicapienhanced/unblockmusic-utils

v0.1.3

Published

⚙️A unlock music tool for NeteaseCloudMusicApiEnhanced.

Readme

unblockmusic-utils

⚙️A unlock music tool for NeteaseCloudMusicApiEnhanced

简介

unblockmusic-utils 是一个用于解锁网易云音乐内容的 API 项目,使用 Express.js 构建,旨在帮助用户绕过地理限制和版权限制,获取更多的音乐资源。

功能特性

  • 基于 Express.js 的 RESTful API 服务
  • 自动尝试多个音源直到找到可用的音乐链接
  • 支持 npx 直接运行

安装

# 克隆项目
git clone https://github.com/NeteaseCloudMusicApiEhanced/unblockmusic-utils.git
cd unblockmusic-utils

# 安装依赖
npm install
# 或者使用 pnpm
pnpm install

使用方法

1. 直接运行

# 使用 npm
npm start

# 使用 pnpm
pnpm start

# 使用 yarn
yarn start

2. 使用 npx 直接运行(无需安装)

# 使用默认端口 3000
npx @neteasecloudmusicapienhanced/unblockmusic-utils

# 指定端口
npx @neteasecloudmusicapienhanced/unblockmusic-utils --port 8080

# 显示帮助信息
npx @neteasecloudmusicapienhanced/unblockmusic-utils --help

3. 开发模式

# 使用 nodemon 监听文件变化
npm run dev

4. 作为模块使用

const { matchID } = require('@neteasecloudmusicapienhanced/unblockmusic-utils');

// 匹配歌曲 ID
const result = await matchID('歌曲ID', '音源模块名(可选)');

API 接口

GET /match

获取音乐链接。

参数:

  • id (必需) - 网易云音乐歌曲 ID
  • source (可选) - 指定音源模块名称

示例:

GET /match?id=123456
GET /match?id=123456&source=cenguigui

POST /match

获取音乐链接(POST 方式)。

参数:

  • id (必需) - 网易云音乐歌曲 ID
  • source (可选) - 指定音源模块名称

示例:

{
  "id": "123456",
  "source": "cenguigui"
}

GET /

获取服务器信息和可用端点。

音源模块

当前支持以下音源模块:

  • cenguigui - https://music.cenguigui.cn/
  • gdmusic - https://music-api.gdstudio.xyz/
  • qijieya - https://api.qijieya.cn/

系统会自动尝试所有可用模块,直到找到可用的音乐链接。

命令行选项

  • --port, -p <端口号> - 指定服务器端口 (默认: 3000)
  • --help, -h - 显示帮助信息

日志系统

本项目使用彩色日志系统,包含以下日志级别:

  • [INFO] - 绿色,一般信息
  • [ERROR] - 红色,错误信息
  • [WARN] - 黄色,警告信息
  • [DEBUG] - 蓝色,调试信息

环境变量

  • PORT - 指定服务器端口 (默认: 3000)

许可证

MIT