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

dcd-ruyi-workflow

v0.1.0

Published

Sync bundled scaffold templates (global knowledge & coco agents) into the current working directory.

Readme

dcd-ruyi-workflow

一个零依赖的脚手架同步 CLI,把内置的模板目录同步到当前工作目录process.cwd())。缺失则补齐,已存在则按策略处理。

用途

它内置两份模板,运行时同步到当前目录:

| 模板目录 (包内) | 同步到的目标路径 (cwd) | | --------------------------- | ---------------------- | | templates/global-knowledge | .global-knowledge | | templates/coco-agents | .coco/agents |

模板目录名去掉了前导点(用 global-knowledge / coco-agents),以规避 npm 发布时对 dotfile / dot-dir 的过滤问题;CLI 内部维护映射表,将其还原为带点的目标路径。

用法

# 在你的项目根目录执行
npx dcd-ruyi-workflow

选项

| 选项 | 含义 | | --------------- | ------------------------------------------------------ | | -f, --force | 目标已存在时直接覆盖(先删除目标再整目录拷贝) | | -s, --skip | 目标已存在时跳过 | | -m, --merge | 目标已存在时仅补齐缺失的文件,不覆盖用户已有文件 | | -y, --yes | 非交互模式;若未指定具体策略,默认按 merge 处理 | | -h, --help | 打印用法 |

已存在时的行为

  • 目标不存在:递归拷贝整个模板目录,输出 added: <target>
  • 目标已存在
    • 交互模式(TTY 且未指定策略):提示 [s]kip / [o]verwrite / [m]erge,按输入处理。
    • overwrite:删除目标后整目录拷贝。
    • merge:仅拷贝目标中不存在的文件,保留用户已有文件,并列出补齐了哪些文件。
    • skip:跳过。

结束时打印一行 summary:added / overwritten / merged / skipped 各多少。

发布

# 校验打包内容(不会真正发布)
npm pack --dry-run

# 发布为公开包
npm publish --access public