News for hackers. Stuff that matters.
Re:Codemod – A library to assist with large-scale codebase r... by pspeter3 on Wednesday August 23, 2017 @04:19PM (#15084697)
I think this was open sourced earlier but I just discovered it.

As a personal anecdote, I've written many ad hoc code mods while working on Luna2 (Asana's next framework) and had no idea one of our founders wrote this. He apparently assumed IDEs would just handle this by now.

Re:Codemod – A library to assist with large-scale codebase r... by nathancahill on Wednesday August 23, 2017 @04:29PM (#15084782)
Facebook also maintains a JS codemod tool that React uses: https://github.com/facebook/jscodeshift
Re:Codemod – A library to assist with large-scale codebase r... by bm_i on Wednesday August 23, 2017 @04:54PM (#15085017)
jscodeshift (recast) is one of my favourite tools