Skip to content

bbmoz/gochu

Repository files navigation

Gochu

npm build climate deps license

example

View a graph of your project!

Get Started

$ npm install -g gochu

There are two ways to generate a graph:

  1. Screenshot
$ gochu start
$ gochu run -s -t 'example/**/*.js'   # see .gochu/ for screenshots
  1. 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.

CLI

$ 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

Features

  • 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 and export)

Enjoy!

info

love