Skip to content

codegarden13/js-dependency-graph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NodeAnalyzer

js-dependency-graph node app for interactive static analysis of JS/Typescript web-apps (using dependency graphs for navigation).

Features

screenshot

  • Entrypoint-based dependency graph
  • LOC + heuristic complexity

What it does

  • Parses JavaScript / TypeScript source code
  • Uses static analysis (AST-based, Babel)
  • Builds dependency graphs
  • Extracts file-level metrics and documentation
  • Visualizes architecture & structure (not runtime behavior)

Run

npm install
node app/server.js

Tec

public/assets/metrics/code-structure.json

{ "nodes": [ ... ], "links": [ ... ] }

will be rendered by d3.js

Future

  • external package nodes (package:express)
  • tsconfig path alias resolution

About

Interactive static analysis on dependency graphs of JS/Typescript applications. (Code to analyze code).

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published