polymer-dependency-weight

Will count the weight of the dependency graph and visualize it.

Usage no npm install needed!

<script type="module">
  import polymerDependencyWeight from 'https://cdn.skypack.dev/polymer-dependency-weight';
</script>

README

polymer-dependency-weight

Will count the weight of the dependency graph and visualize it.

Todo

  • visualize result.

Installation

Installation can be done using a simple node install step.

npm install -g polymer-dependency-weight

Usage

You'll run the application with the source directories you want to analyze for dependencies.

polymer-dependency-weight [file1..file(n)]

Output

We will visualize the output data as a tree structure you can browse to figure out which branch has the most weight so you can prune your dependency tree.