patch-text

Make multiple changes to a block of text by providing start and end indices and replacement text

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).