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

@jojonadam/dsh-release

v0.1.4

Published

One-command release pipeline for DSH plugins: preflight checks, version bump, test, commit, SSH push, npm publish, registry verification, desktop install and hub submission. 发布流水线 · 凭据走钥匙串 · 默认只读。

Readme

dsh-release · JOJO&Adam

把自己的 DSH 插件从「改完代码」送到「用户能装」,一条命令跑完:

check → 升版本 → 测试 → commit → SSH push → npm publish → 等 registry 生效 →(可选)装桌面版

凭据只从 macOS 钥匙串读,不落盘、不打印。默认只读,写操作必须 --yes。

安装

dsh plugin --profile web add @jojonadam/dsh-release
dsh plugin --profile desktop add @jojonadam/dsh-release

用法

# 环境体检(token / SSH / dsh CLI)
node skills/dsh-release/scripts/release.mjs doctor

# 预检(只读)
node skills/dsh-release/scripts/release.mjs check --dir /path/to/dsh-xxx

# 预检 + 脱敏扫描(包内文件 + ~/.dsh/memory)
node skills/dsh-release/scripts/release.mjs check --dir /path/to/dsh-xxx --scan

# 预览发布计划
node skills/dsh-release/scripts/release.mjs release --dir /path/to/dsh-xxx --bump patch --dry-run

# 只安装已发布版本
node skills/dsh-release/scripts/release.mjs install --dir /path/to/dsh-xxx

# 真发布
node skills/dsh-release/scripts/release.mjs release --dir /path/to/dsh-xxx --bump patch --yes

# 发完装进桌面版
node skills/dsh-release/scripts/release.mjs release --dir /path/to/dsh-xxx --bump patch --yes --install

# 提交到 dsh-plugin-hub
node skills/dsh-release/scripts/release.mjs hub-issue --dir /path/to/dsh-xxx \
  --category "Tools & Capabilities" --value "一句话价值"

凭据

| 凭据 | 位置 | |---|---| | npm token | 钥匙串 generic dsh-npm-token | | GitHub token | 钥匙串 internet password github.com | | SSH key | ~/.ssh/id_ed25519_dsh |

换账号或改 scope 时,改脚本顶部常量即可。

它替你记住的坑

  • cordis.patch.yml 的 name 必须等于 package.json 的 name,否则装不上;
  • scoped 包必须 publishConfig.access=public;
  • npm pack 不能带 test/;
  • 发布前扫明文密钥与本机路径,high 级命中直接阻断(--no-scan 可跳过);
  • 首次发布 registry 有几分钟 202 延迟,必须轮询而不是重发;
  • npmmirror 对新包不同步,发布/安装都显式走 npmjs;
  • pnpm 的 minimumReleaseAge 会挡新版本,安装前要写豁免;
  • github.com HTTPS 不通时改用 SSH,key 与 known_hosts 都显式指定。

License

MIT · JOJO & Adam · https://jojo-adam.com