0.0.10 • Published 3 years ago

nest-dependency-viewer v0.0.10

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

nest-dependency-viewer

Provides a web UI for examining the dependency tree of a NestJS application. Intended to run in development environments, on a separate port from the main application.

Dependencies

This package requires Java to be running, and graphviz to be installed.

Usage

Install with your package manager of choice:

yarn add nest-dependency-viewer

Create your main application first, then pass it to DependencyTreeViewer.create:

  // Your app setup
  const app = await NestFactory.create(AppModule);

  // Provide create method with the app to be examined, and the port on which *the dependency viewer* will be served
  const dependencyTreeViewerApp = await DependencyTreeViewer.create(app, 5001);

  // Start the viewer
  await dependencyTreeViewerApp.start(5001);
0.0.10

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago