0.0.10 • Published 5 years ago

nest-dependency-viewer v0.0.10

Weekly downloads
-
License
MIT
Repository
github
Last release
5 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

5 years ago

0.0.9

5 years ago

0.0.8

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago