Dev Tools · 1h ago
Catch circular dependencies automatically with dependency-cruiser
Circular dependencies in JavaScript can cause subtle bugs that appear weeks later. The open-source tool dependency-cruiser scans your codebase to detect cycles and enforce the Stable Dependencies Principle. It works with TypeScript, path aliases, and monorepos, integrating easily into CI pipelines.
Meridian48 take
This is a practical, low-effort way to prevent a class of bugs that often slip through code review — worth adopting for any non-trivial JS/TS project.
Read the full reporting
Stop circular dependencies before they stop you — dependency-cruiser & the Stable Dependencies Principle →
DEV Community
dependency-managementjavascript-tools