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

project-knowledge

v0.1.0

Published

Knowledge base manager with Git integration, AI-driven analysis, and bilingual (zh-CN/en-US) knowledge output

Readme

SanQian.Xu 项目知识库

统一管理 D:\SanQian.Xu 下多个项目的项目框架、功能模块、git 提交的功能变更。

目录速览

project-knowledge-base/
├── INDEX.md                # 项目速查表(按角色/技术栈/标签)
├── projects.json           # 项目元信息(脚本读取)
├── iterations.json         # 里程碑定义
├── projects/
│   ├── claude-code-ui/                # Claude Code UI(克隆参考项目)
│   ├── claude-devsprite/              # Claude-DevSprite(CLI + Web Dashboard)
│   ├── token-consumption-leaderboard/ # Token 消耗排行榜
│   ├── quant-platform/                # 量化金融数据平台
│   ├── web-remote-control/            # WebRTC 远程桌面
│   └── tokenrank-cloud/               # TokenRank Cloud
├── scripts/
│   ├── gen-commit-doc.ps1  # 核心:git log → 功能文档
│   ├── gen-commit-doc.sh   # Bash 版
│   ├── list-features.ps1   # 列出某项目所有功能
│   └── register-scheduled-task.bat  # 注册每日定时任务
└── templates/              # 文档模板

阅读路径

  1. 第一次来 → 看 INDEX.md 了解项目概况
  2. 找某个项目的框架projects/<slug>/framework.md
  3. 找某个功能模块projects/<slug>/modules/00-index.md
  4. 找某次 git 提交的功能变更projects/<slug>/commits/00-index.md
  5. 找项目与源码的对应关系projects/<slug>/references/source-map.md

项目 slug 对照

| slug | 项目目录 | 显示名 | |------|----------|--------| | claude-code-ui | Claude-Code-UI\Reference Project\claudecodeui | Claude Code UI | | claude-devsprite | Claude-DevSprite | Claude-DevSprite | | token-consumption-leaderboard | Token Consumption Leaderboard | Token Consumption Leaderboard | | quant-platform | quant-platform | quant-platform | | web-remote-control | web-remote-control | web-remote-control | | tokenrank-cloud | TokenRank Cloud | TokenRank Cloud |

如何更新知识库

手动更新

  • projects/<slug>/modules/*.md 的「最近一次重要变更」段:PR 作者
  • projects/<slug>/framework.md:项目 owner(季度审查)
  • INDEX.mdprojects.jsoniterations.json:知识库 owner

自动更新(git 提交 → 功能文档)

cd D:\SanQian.Xu\project-knowledge-base\scripts
.\gen-commit-doc.ps1 -ProjectSlug claude-devsprite   # 单项目
.\gen-commit-doc.ps1 -ProjectSlug ALL                # 全部项目

脚本行为:

  • feat / fix / refactor / perf → 写入 commits/
  • docs / chore / test / style → 跳过(不写入 commits/)
  • 同 feature-slug 的提交 → 追加到已有功能文件(不新建)
  • docs: / chore: 视为维护类变更,不进 commits/

详见 templates/commit-feature.md 的输出格式。

维护约定

  • 路径风格:所有内部链接用 POSIX 风格(/ 而非 \
  • 命名风格:文件名 kebab-case 全小写 ASCII
  • Frontmatter:每个 .md 顶部带 YAML frontmatter(用 --- 包围)
  • 每文件一职责:一个模块一文件、一次功能交付一文件

知识库自身的变更

CHANGELOG.md