sverklo
A
Overall Health
tj/commander.js
https://github.com/tj/commander.js
2026-04-19 00:19:01
A
Dead code
0% orphan symbols (0/28)
A
Circular deps
0 cycles detected
A
Coupling
max fan-in: 4 (lib/error.js)
A
Security
0 concerns found

Overview

  • 175 files indexed
  • 367 code symbols extracted
  • 7168 symbol references tracked
  • 0 active memories (0 core, 0 stale)
  • Languages: javascript (170), typescript (5)

God Nodes (most-referenced symbols)

These are the symbols your codebase depends on most. Changes here have the largest blast radius.

  • Command — 709 references
  • Option — 186 references
  • Help — 89 references
  • Argument — 41 references
  • stripColor — 16 references
  • DualOptions — 14 references
  • displayWidth — 12 references
  • createCommand — 11 references
  • useColor — 9 references
  • InvalidArgumentError — 6 references

Hub Files (highest PageRank)

Core architectural files — imported by many others.

  • lib/error.js (1.00)
  • lib/argument.js (0.54)
  • index.js (0.42)
  • lib/help.js (0.35)
  • lib/option.js (0.35)
  • lib/command.js (0.30)
  • esm.mjs (0.23)
  • lib/suggestSimilar.js (0.17)
  • .prettierrc.js (0.12)
  • eslint.config.js (0.12)

Orphans

No obvious dead code — every named symbol has at least one reference.

Coupling (high-PageRank files)

  • lib/error.js (1.00)
  • lib/argument.js (0.54)
  • index.js (0.42)
  • lib/help.js (0.35)
  • lib/option.js (0.35)

Suggested Next Steps

  • Before refactoring Command, run sverklo_impact to see the 709 call sites
  • lib/error.js is your most-imported file — changes here cascade widely