Nodejs - Quick Picks #1

09/19/2021, Sun
Categories: #JavaScript
Tags: #NodeJs

Sabik

Analyze the quality of your codebase by calculating the following metrics:

Install as a developer dependency

npm install -D sabik

Generate the report

sabik ./path/to/source

Dependency Cruiser

Get a visual sense of how your codebase is connected together by the relationships among files.

Install as a developer dependency

npm install -D dependency-cruiser

Generate the SVG diagram

npx depcruise --include-only "^src" --output-type dot src | dot -T svg > dependencygraph.svg