creates a control flow graph from an esprima abstract syntax tree
github.com/Swatinem/esgraph
Swatinem/esgraph