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

dsh-wbtree

v0.1.2

Published

Sidebar workspace dropdown + fork-lineage session tree with compact guide lines and per-session rename/fork/archive menu.

Readme

dsh-wbtree

DSH 侧栏「工作区下拉 + 会话分支树」插件。

把工作区切换改为下拉列表,并把按分支(fork)衍生的会话以树形呈现,带紧凑的父→子连线、同级同名自动编号 (2)/(3)、相对时间,以及每行的 ⋯ 菜单(重命名 / 分叉会话 / 归档会话)。头部不再有「新会话」按钮(窄栏 rail 模式保留 +)。

效果

┌─ [工作区 ▾]          ← 下拉选择(含「未分组」)
│
│ A
│ └─ B
│    ├─ C
│    └─ D   ⋯        ← 每行悬停显示 ⋯ 菜单

安装

方式一:作为 npm 包(推荐)

# 在目标机器上
dsh plugin --profile web add dsh-wbtree

然后把 dsh-wbtree 加进 ~/.dsh/profiles/web/package.jsondsh.profile.bundles 列表(或在 ~/.dsh/profiles/web/cordis.patch.yml 末尾追加 - insert: [{ id: wbtree, name: 'dsh-wbtree' }]),重启 dsh web。

方式二:本地文件夹(离线)

  1. dsh-wbtree 整个目录复制到 ~/.dsh/profiles/web/node_modules/ 下。
  2. ~/.dsh/profiles/web/cordis.patch.yml 末尾追加:
- insert:
    - id: wbtree
      name: 'dsh-wbtree'
  1. 重启 dsh web。

卸载

删除上述插入的行(或在 patch 行上加 disabled: true),重启即可;包目录可一并删除。

维护

  • 浏览器半:lib/client.js__ModuleLoader__ 包格式,与官方 ui-* 包一致)
  • host 半:lib/index.js(空实现,仅为行解析)
  • 修改后重启 dsh web 生效。

License

MIT