extract-comments

v1.1.0
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).
ast block code comment comments context esprima extract glob and 6 more...

npm i extract-comments

Metadata

  • MIT
  • >=6
  • Jon Schlinkert
  • released 11/24/2018

Downloads

Maintainers