julianjensen / ast-flow-graph

Creates a CFG from JavaScript source code.
Other
66 stars 11 forks source link

I can't find the cfg command #3

Open thejohnhoffer opened 6 years ago

thejohnhoffer commented 6 years ago

Installing ast-flow-graph does not expose "cfg" as a command-line command.

thejohnhoffer commented 6 years ago

Now using ./node_modules/babel-cli/bin/babel-node.js --presets node6 cli.js input.js

julianjensen commented 6 years ago

I shall take a look tomorrow (Saturday) as I'm on train from NYC at the moment. I'm not sure what, if any, effect babel might have on the module.