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

@jeremyfellaz/maximus

v0.1.4

Published

Canonical Rust runtime launcher for the Maximus CLI.

Readme

Maximus

License: MIT

为混乱的配置重建秩序。

Maximus 是一个 CLI,用来检查散落在项目各处的配置文件,整理冲突与重复项,并帮助团队维持有序的开发环境。

现代项目建立在大量配置之上,例如 tsconfigeslintprettiervitejestnext.config.env 等。Maximus 可以在这些配置开始失控时重新建立秩序。

Canonical Runtime

Maximus 现在使用 Rust runtime 作为 canonical implementation。

  • @jeremyfellaz/maximus npm package 是一个 thin launcher,实际执行委托给按平台分发的 prebuilt Rust binary。
  • 已发布的 npm wrapper 和 GitHub Action 默认也会走同一条 Rust runtime 路径。
  • 已发布的 npm 入口现在是 npx @jeremyfellaz/maximus auditnpx @jeremyfellaz/maximus doctornpx @jeremyfellaz/maximus fix,而安装后的二进制名称仍保持为 maximus
  • src/**/*.js 仍保留在仓库中,作为用于 parity 和比较的 frozen reference code。它也会继续随 npm package 一起分发,作为缺少 optional native runtime package 时的 compatibility fallback,但不再被视为 canonical runtime。
  • 历史性的 rewrite planning notes 可能仍存在于维护者工作流中,但公开的 contributor guidance 应以仓库内可追踪的文档为准,例如 CONTRIBUTING.mddocs/roadmap.mddocs/runtime-transition.mddocs/architecture/checker-authoring.md

迁移边界和贡献规则可见 runtime transition 文档

功能

  • 检测配置冲突
  • 检测重复的配置来源
  • 警告过时的 TypeScript 选项
  • 检查错误的路径别名连接
  • 分析 ESLint / Prettier 冲突
  • 检查缺失或不匹配的环境变量
  • 生成推荐的项目结构报告

命令

 npx @jeremyfellaz/maximus audit
 npx @jeremyfellaz/maximus doctor
 npx @jeremyfellaz/maximus fix

audit

检查项目当前的配置状态,并汇总风险最高的问题。

doctor

audit 更具解释性的诊断模式,会额外给出优先级和结构改进建议。

fix

只应用安全的自动修复。

当前 MVP 支持的自动修复:

  • 根据实际 .env 文件生成 .env.example
  • 将缺失的键追加到 .env.example

输出示例

Maximus audit
Target: /workspace/my-app

Status: attention needed
Findings: 1 error, 2 warnings, 1 info
Fixes available: 1

Findings
- [error] Path alias target does not exist
  file: packages/web/tsconfig.json
  detail: @ui/* points to src/missing/*
  hint: Update or remove the stale alias target.

- [warn] Missing .env.example contract
  file: .env
  detail: Runtime env files exist, but .env.example is missing.
  hint: Run `maximus fix` to create a blank contract file.

本地开发

npm test
cargo test --workspace
node ./bin/maximus.js audit ./test/fixtures/clean-project

node ./bin/maximus.js 会优先运行仓库内构建好的 Rust CLI(target/debug/maximustarget/release/maximus)。如果你还没有本地 binary,可以通过 cargo build -p maximus-cli 构建。src/**/*.js 会继续作为 frozen reference code 保留,也会随 npm wrapper package 一起分发,作为缺少 optional native package 时的 compatibility fallback。

适合这些团队

  • 维护 monorepo / 多包仓库的团队
  • 难以管理大量配置文件的团队
  • 新成员经常在初始配置阶段卡住的团队

贡献

欢迎贡献。如果你想添加新的检查项、提升自动修复的安全性,或者减少误报,请先阅读 CONTRIBUTING.mdruntime transition 文档,因为 canonical runtime 和分发表面现在都以 Rust 为先。

安全

如果你怀疑发现了安全问题,请不要先公开提 issue。请按照 SECURITY.md 中的私密报告流程进行报告。

赞助

如果 Maximus 帮助你的团队减少了配置混乱,可以通过 GitHub Sponsors 支持持续维护。

许可证

Maximus 基于 MIT License 发布。