View a graph of your project!
$ npm install -g gochu
There are two ways to generate a graph:
- Screenshot
$ gochu start
$ gochu run -s -t 'example/**/*.js' # see .gochu/ for screenshots
- Live Graph
$ gochu start
$ gochu run -t 'example/**/*.js' # open http://localhost:8080
*Make sure to start the gochu web server before generating a graph.
$ gochu start # start web server at localhost:8080
$ gochu stop # stop web server
$ gochu run [-s|--screenshot] [-t|--target '<glob>'] # generate graph
$ gochu [-h|--help] # show all commands
$ gochu run [-h|--help] # show "run" command info
- visual graph of project files and their relationships
- real-time graph each time
gochu run -t
is executed - generate screenshots with
-s
option - support ES6 modules (
import
andexport
)
Enjoy!