Creates the control flow graph for an AST following the ESTree specification.
npm install styxDerives the control flow graph from a JavaScript AST in ESTree format.
> This project was created as a proof-of-concept implemention for my Bachelor's thesis in computer science:
>
> - Deriving Control Flow Graphs from JavaScript Programs
```
$ npm install styx
With the esprima and styx npm packages installed, Styx can be used as follows:
`js
import Esprima from "esprima";
import * as Styx from "styx";
var code = "var x = 2 + 2;";
var ast = Esprima.parse(code);
var flowProgram = Styx.parse(ast);
var json = Styx.exportAsJson(flowProgram);
console.log(json);
``