get-comments

Extract javascript comments on per character basis. Comment object compatible with `acorn-extract-comments` and Esprima format.

extract-comments

Uses esprima to extract line and block comments from a string of JavaScript. Also optionally parses code context (the next line of code after a comment).