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

@mcptoolshop/brand

v1.0.2

Published

Centralized brand asset management — migration, audit, and integrity verification for GitHub orgs

Readme


原因

当每个代码仓库都包含自己的Logo副本时,就会出现重复、偏差和不一致的情况。重新设计品牌意味着需要在100多个代码仓库中进行查找。这个代码仓库解决了这个问题——Logo文件存储在此处,README文件通过raw.githubusercontent.com链接引用它们。

结构

logos/
  <slug>/
    readme.png    # or readme.jpg — format preserved as-is
manifest.json     # SHA-256 integrity hashes for every asset
docs/
  handbook.md     # Lessons learned from migrating 100+ repos

组织内共有117个Logo。PNG格式的Logo保持为PNG格式,JPEG格式的Logo保持为JPEG格式。文件格式是品牌决策,而不是构建目标。

命令行工具 (CLI)

npm install -g @mcptoolshop/brand

# Verify all logos match their manifest hashes
brand verify

# Regenerate manifest after adding/replacing a logo
brand manifest

# CI mode — fail if manifest is out of date
brand manifest --check

# Audit repos for broken refs, badge collisions, indentation traps
brand audit --repos /path/to/clones

# Migrate READMEs to point at brand repo (dry run first)
brand migrate --repos /path/to/clones --dry-run
brand migrate --repos /path/to/clones

添加新的 logo

  1. 将文件放入 logos/<slug>/readme.png (或 .jpg) 目录中。
  2. 运行 brand manifest 命令以更新完整性哈希值。
  3. 同时提交 logo 文件和 manifest.json 文件。
  4. CI 系统在每次提交时验证 manifest.json 文件的内容。

安全性

每个 logo 都通过 SHA-256 哈希值在 manifest.json 文件中进行跟踪。CI 系统在每次涉及 logos/ 目录或 manifest.json 文件的提交时,都会运行 brand manifest --check 命令。任何不匹配的情况——意外覆盖、篡改或偏差——都会导致构建失败。

请参阅SECURITY.md以获取完整的安全策略,以及docs/handbook.md以获取迁移指南。

隐私

此工具不收集任何遥测数据。所有操作仅在本地文件系统中进行。

评估指标

| 类别 | 得分 | 备注 | |----------|-------|-------| | A. 安全性 | 10/10 | SECURITY.md,SHA-256完整性校验,无网络连接,无遥测数据。 | | B. 错误处理 | 8/10 | 结构化错误信息,清晰的命令行输出,退出码。 | | C. 操作文档 | 10/10 | README文件,CHANGELOG文件,操作手册,完整的命令行文档。 | | D. 发布质量 | 9/10 | CI集成完整性检查,29个测试用例,版本对齐。 | | E. 身份标识 | 10/10 | Logo,翻译文件,着陆页,元数据。 | | Total | 47/50 | |

许可证

MIT