Menu

Home

Pho Thin Maung

Overview

Dependensia is a static analysis tool designed to help developers understand their TypeScript and JavaScript projects. It achieves this by generating detailed dependency graphs, which visually map how files are interconnected. Its core functionalities include detecting problematic circular imports, performing topological sorting to order files correctly for build systems, and identifying various dependency patterns like leaf files or mutual dependencies.

Visual Overview

flowchart TD
    A0["Dependensia Core API
"]
    A1["Dependency Collector
"]
    A2["Dependency Graph
"]
    A3["Graph Analysis Algorithms
"]
    A4["Topological Sorter
"]
    A5["Project Build System
"]
    A6["Code Coverage Reporter
"]
    A0 -- "Calls" --> A1
    A1 -- "Generates data for" --> A2
    A0 -- "Queries" --> A2
    A2 -- "Input for" --> A3
    A2 -- "Input for" --> A4
    A0 -- "Uses" --> A3
    A0 -- "Uses" --> A4
    A5 -- "Analyzes own code via" --> A0
    A5 -- "Consumes output from" --> A4
    A6 -- "Monitors and Reports on" --> A0

MongoDB Logo MongoDB