Skip to content

Commit

Permalink
Create detect-dependency-cycles.md
Browse files Browse the repository at this point in the history
  • Loading branch information
CeEv committed May 28, 2024
1 parent fd659a2 commit faee72f
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docs/Informations/detect-dependency-cycles.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Detect Dependency Cycles

You can use following package and command to detect dependency cycles in code.

https://www.npmjs.com/package/madge

### text export
npx madge --extensions js,ts --circular .

### image export
apt-get install graphviz
npx madge --extensions js,ts --circular --image graph.svg .

0 comments on commit faee72f

Please sign in to comment.