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

create-ceru-plugin

v0.3.12

Published

Create a TypeScript Ceru Music v2 plugin that builds to one JavaScript file

Readme

create-ceru-plugin

0.3.12 插件网络请求支持宿主注入代理:requestNetwork 新增 setNetworkProxyResolver,宿主可让搜索、歌词等请求遵循应用自身的网络代理设置。

0.3.11 用户 Ctrl+C/Esc 取消时正常退出(不再返回 130 让 npm create 报错)。

0.3.10 修复交互向导结束后进程不退出:会话结束停掉挂起的 stdin 读取,CLI 正常返回。

0.3.9 修复 Windows 下方向键选择失灵:连续提问不再反复切换原始模式,避免输入被行编辑缓冲吞掉。

0.3.8 的脚手架支持方向键选择模板(每项带一行说明)与语言,目录非空会当场提示重填,创建后给出 cd/npm 步骤卡片;非交互终端仍输出纯文本。

0.3.5 的 connected-library 以 playlistSections 集成现有歌单页,并演示按 sectionId 导航定位。

0.3.3 的 connected-library 模板包含原生歌单网格、歌曲列表、账号摘要与 Host 播放/导入动作示例。

类似 create-vue 的 Ceru Music 插件脚手架。

npm create ceru-plugin@latest

也可以直接选择模板:

npm create ceru-plugin@latest my-plugin -- --template react --lang ts
cd my-plugin
npm install
npm run dev
npm run build

提供 9 种模板、TS/JS 变体、VS Code 配置、小 demo 与离线模板快照。最终只分发 dist/plugin.js。

脚手架是可选的:不需要第三方包或编译语法时,可以直接编写 exports.manifest / exports.activate / exports.surfaces 单文件插件。CLI 项目中的第三方依赖会打入最终 JS,Host 模块不会重复打包。

模板:source、connected-library、importer、guest-adapter、web-surface、vue、vue-tsx、react、web-dist。

工具链指南 · 模板和社区插件