acorn-extract-comments (npm): Extract JavaScript code comments from a string, using `acorn`. Optionally returns the AST and first line of code after comment - useful for parsing code context and api docs.
Keywords: acorn|ast|block|code|codecomments|comments|docs|extract|javascript|js|jscomments|nested