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

@capcut/jianying-mcp

v0.8.65

Published

使用本机剪映创作、剪辑、预览和导出视频

Readme

剪映:npm STDIO 接入

本机运行剪映连接器,检索和打开草稿,执行剪辑、预览与导出。剪映账号登录、权益及系统授权沿用客户端实际流程。

配置

正式包发布后,在豆包选择 STDIO,启动命令为 npx,参数逐行填写:

--yes
--package=@capcut/jianying-mcp@<固定版本>
--registry=https://registry.npmjs.org/
jianying-mcp

版本来自该次正式发行记录;版本占位符和本地测试包名不能直接用于上架。显式使用官方 npm 源,避免宿主默认镜像尚未同步新版本而下载失败。连接器入口从自身安装目录定位运行文件,不依赖工作目录或用户填写机器路径。

npm 包使用宿主运行时;手动 ZIP 不携带运行时,由安装脚本检查并在必要时下载 Node 到用户私有目录。

运行环境

由宿主提供 Node.js 18.17+ 和 npm/npx。一个 npm 包支持 Mac Apple Silicon、Intel 和 Windows x64,包内不包含 Bun、Node.js 二进制或平台运行时子包。入口使用 npx 所用的 Node.js 绝对路径启动 STDIO 服务,共享后端和浏览器网关也复用该运行时。系统或 Node.js 版本不支持时返回明确错误。

无需 postinstall、可选运行时依赖,不修改系统 PATH,不注册开机服务。STDIO 原样继承,退出与停止信号转交 Node.js 服务;草稿、登录态和日志沿用现有本机目录,不写入 npm 包。

共享后端按实际运行时构建更新,不只比较 npm 版本号或传输协议。新版 STDIO 将自身运行时入口和 buildId 交给已认证的后端;后端核对清单及文件完整性后保存快照,等待已受理操作收尾并交接状态。支持本地 ZIP 与 npm 缓存等不同目录之间的更新。接管完成前不向旧构建派发新请求;拒绝更新或部署不完整时明确返回错误,不静默使用旧下载配置。已接管的快照与被替代构建记录在状态目录 shared-runtime-release.json,旧目录里的 STDIO 重连后跟随新构建,不反向降级。此能力需后端包含跨目录更新实现;更早版本拒绝时需先重启到新版,不强制终止其他宿主的进程。

打包与验证

python3 Tools/doubao-hub-pilot/package-npm.py --name <正式包名> --output <新输出目录>

脚本从当前源码构建单个 npm tgz,记录源码提交、工作区状态和逐文件哈希。运行代码和卡片依赖已内联,包含第三方许可记录,不包含剪映客户端、测试代码、内部审批材料、node_modules 或原生扩展。脚本仅打包,不执行发布。

验证换目录、中文及空格路径、最低 Node.js 版本、STDIO 握手、工具发现、卡片资源、WebSocket 转发及重连、stdin 关闭和停止信号。Windows 参数和路径模拟不能代替 Windows 实机验收。

发布

使用已经批准的 npm 组织和包名,按固定版本发布单个包。完成从公网 registry 安装和真实宿主回归后填写表单。公开发布须完成公司审批并得到用户明确授权;测试快照若含 dirty=true,应在正式发布前冻结源码并重新打包。