Codemod
A program rewrites the code base mechanically, the same change at every place a pattern matches, instead of a person or an agent making each edit.
Named by Justin Rosenstein.
Themes: Refactoring and migration · Tooling
With an agent: Computational guide, in Böckeler's grid.
Sources
- codemod (README), Justin Rosenstein, 2008, Facebook, on GitHub.
- jscodeshift (README), Meta, Meta, on GitHub.
- Recipes, OpenRewrite, OpenRewrite.