Hacker News new | ask | show | jobs
by GeZe 4418 days ago
For a tool dedicated to searching and replacing JS in this way (AST aware), check out http://graspjs.com

You can use both CSS style selectors, and pattern matching, to both search and replace your code.