jscodeshift-codemods

Installation
SKILL.md

jscodeshift Codemods

Core Philosophy: Transform AST nodes, not text. Let recast handle printing to preserve formatting and structure.

When to Use

Use codemods for:

  • API migrations - Library upgrades (React Router v5→v6, enzyme→RTL)
  • Pattern standardization - Enforce coding conventions across codebase
  • Deprecation removal - Remove deprecated APIs systematically
  • Large-scale refactoring - Rename functions, restructure imports, update patterns
Installs
18
GitHub Stars
5
First Seen
Jan 25, 2026
jscodeshift-codemods — third774/dotfiles