@cblgh @neauoire Whoa, interesting coincidence, I'm also working on my own JS documentation generator these days!
I want to list the functions, the params and the documentation and I used esprima for extracting them. The code is very small, I commited this yesterday: https://github.com/ShinyTrinkets/twofold-extras/blob/master/src/code.js