2.0.10 • Published 3 years ago
tsviz v2.0.10
tsviz
This simple tool creates a UML diagram from typescript modules.

Installation
npm install -g tsviz-cliYou also need to install GraphViz, including correctly added it to your PATH.
Usage
Cli
tsviz-cli <switches> <sources filename/directory> <output.png>
Available switches:
-d, dependencies: produces the modules dependencies diagram
-svg: output an svg fileIn order to create a diagram for an entire project you simply type:
tsviz-cli samples/ diagram.pngLibrary
You may also consume tsviz npm library in your project to obtain a digest of modules, classes, methods, etc, of a given typescript project.
npm install tsvizimport { getModules, getModulesDependencies } from "tsviz";
const tsConfigDir = "path/where/your/tsconfig/lives";
const modules = getModules(tsConfigDir);
...
const modulesDependencies = getModulesDependencies(tsConfigDir);
...2.0.10
3 years ago
2.0.5
4 years ago
2.0.7
4 years ago
2.0.6
4 years ago
2.0.9
4 years ago
2.0.8
4 years ago
2.0.3
4 years ago
2.0.2
4 years ago
2.0.4
4 years ago
2.0.1
4 years ago
2.0.0
4 years ago
1.0.11
9 years ago
1.0.10
9 years ago
1.0.9
10 years ago
1.0.8
10 years ago
1.0.7
10 years ago
1.0.6
10 years ago
1.0.5
10 years ago
1.0.4
10 years ago
1.0.3
10 years ago
1.0.2
10 years ago
1.0.1
10 years ago
1.0.0
10 years ago