An open API service indexing awesome lists of open source software.

https://github.com/bfncs/deps2dot

Build Graphviz dot files from package dependencies
https://github.com/bfncs/deps2dot

graphviz npm tool

Last synced: 22 days ago
JSON representation

Build Graphviz dot files from package dependencies

Awesome Lists containing this project

README

          

# deps2dot

[![Build Status](https://travis-ci.org/bfncs/deps2dot.svg?branch=master)](https://travis-ci.org/bfncs/deps2dot)

CLI tool to build Graphviz dot files from package dependencies.

## Install

```bash
yarn global add deps2dot
```

## Use

```bash
# Render dotfile from dependencies in test/fixture
deps2dot test/fixture

# Render to png (depends on Graphviz)
deps2dot test/fixture | dot -Tpng > graph.png

# Render and display (depends on Graphviz & imagemagick)
deps2dot test/fixture | dot | display
```