The Codemod Squad's repositories
jscodeshift-add-imports
add imports/requires if not already present with jscodeshift
jscodeshift-find-imports
find imported/required identifiers with jscodeshift
jss-codemorphs
jscodeshift transforms for converting CSS to JSS
vscode-astx
structural search and replace for JavaScript and TypeScript
jscodeshift-choose-parser
pick a jscodeshift parser intelligently based upon local project config
graphql-typegen
JSCodeshift transform that inserts Flow types generated from GraphQL documents in template string literals and your GraphQL schema
jscodeshift-build-import-list
build a list of all files and dependencies transitively imported by starting file(s)
flow-codemorphs
general purpose codemods for flow
babel-parse-wild-code
parse a file in a foreign directory with babel, using ambient babel config
jscodeshift-paths-in-range
A predicate for jscodeshift Collection.filter that only includes paths in the given source code range.
material-ui-codemorphs
Smart codemod scripts for day-to-day work with Material UI
babel-plugin-jsx-source-loc
add a prop like data-source-loc="src/foo.js:35:8" to every JSX element
react-codemorphs
codemods for everyday work with React
function-codemorphs
codemods for in-IDE refactoring of functions
invalidate-require-cache
Delete modules in a folder from require.cache unless the folder is unchanged since last call
jscodeshift-transforms-skeleton
skeleton for a jscodeshift transforms package
jscodeshift-watch
reruns jscodeshift any time your transform code changes, prints diffs, asks whether to write out the changes
print-highlighted-ast
print a babel AST with specific nodes highlighted, for debugging codemods
try-it-pages
Playground pages for various codemods I've written
recast
JavaScript syntax tree transformer, nondestructive pretty-printer, and automatic source map generator