New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

lerna-dependency-graph

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lerna-dependency-graph

Outputs dependencies in a Lerna monorepo using Graphviz.

latest
Source
npmnpm
Version
1.1.0
Version published
Maintainers
1
Created
Source

lerna-dependency-graph

Outputs dependencies in a Lerna monorepo using Graphviz.

pug
Graph of Pug (template engine).

Usage

Install Graphviz and add the bin directory in your PATH.

Then add this package to your project:

npm i -D lerna-dependency-graph

Add a script entry in your package.json:

  "scripts": {
    "graph": "lerna-dependency-graph"
  },

Execute:

npm run graph [-- options]

You could also give it a try without installing it:

npx lerna-dependency-graph [options]

Options

The most important ones are:

  • -f <format> / --outputFormat <format>
    Outputs the given format.
    If not given, outputs plain DOT.
    List of available output formats
  • -o <path> / --outputPath <path>
    File to write into.
    If not given, outputs on stdout.

See all options with -h.

Keywords

graphviz

FAQs

Package last updated on 07 Apr 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts