js-deps icon indicating copy to clipboard operation
js-deps copied to clipboard

Interactive graph of dependencies between JS/TS files

JS deps

Generates a graph of dependencies between JS/JSX/TS/TSX files.

This works by launching a local server which will parse your codebase and analyze dependencies. Obviously, no code is transmitted to any third-party server.

Under the hood, it uses the TypeScript library to parse import and require statements. Note that currently, only top-level statements are taken into account (a conditional require will be ignored).

Demo

Visualisation of dependencies

How to use:

git clone https://github.com/fwouts/js-deps.git ~/js-deps
cd ~/js-deps
yarn install
yarn start