Understanding Codemods and jscodeshift


Details
jscodeshift is a powerful tool for writing codemods that can make programmatic changes to source code. Codemods can take some large scale refactors from impossible large to very doable. But they can also be fairly intimidating and confusing for newcomers.
In this talk, we’ll break down exactly what jscodeshift is doing and why codemods are structured the way that they are. We’ll look at some useful tools for writing them and go through some examples so that by the end, you feel a little more comfortable writing your own.
Gaurav is an engineer at Threads, an SF-based startup. When not coding, he’s probably doing crosswords, playing the AADL summer games or encouraging readers like you to vote in the Aug 2 primary.
COVID-19 safety measures

Understanding Codemods and jscodeshift