@thought2/depp

1.0.28 • Public • Published

depp

Creates a .dot file showing a dependency graph of your project

Installation instructions for a Debian based Linux system


# install graphviz and depp: 
sudo apt-get install graphviz
npm install -g @thought2/depp

cd {{project_dir}}

# generates the dot file:
LANGUAGE=elm DIR=src/ MAIN=Main.elm depp > output.dot

# turns dot file into png:
dot -Tpng output.dot > output.png

Currently depp is only implemented for Elm. But it's extensible, feel free to make a PR for the support of further languages.

Readme

Keywords

none

Package Sidebar

Install

npm i @thought2/depp

Weekly Downloads

0

Version

1.0.28

License

ISC

Unpacked Size

199 kB

Total Files

10

Last publish

Collaborators

  • thought2