4 ms·
What is a "codemod"?
by marssaxman 4y ago
What is a "codemod"?
- deleted 4y ago[deleted]
- charcircuit 4y agoA codemod is an automated refactor. Codemods are typically done by writing scripts that manipulate the AST of code in files or by writing a regex to find and replace. The name originates from an internal script at Facebook called codemod. It had a public open source fork if you are curious. https://github.com/facebookarchive/codemod https://github.com/facebookarchive/codemod
- marssaxman 4y agoThanks for the explanation!