Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>codemudNew to Visual Studio Code? Get it now.
codemud

codemud

Carlos Eustáquio

|
40 installs
| (0) | Free
Run codemods easy peezy
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Codemud README

Run codemods easy peezy. 👣

Codemud is a VSCode extension that makes it really easy to run jscodeshift scripts on any file. The use cases for it vary from testing jscodeshift scripts to performing automated code migrations when it's necessary a file-by-file analysis.

Codemud UI example

How to use?

  1. To use Codemud, you first need the jscodeshift library installed:
$ npm install -g jscodeshift
  1. Codemud will read codemods from the .codemud folder in your root directory (<project-root>/.codemud). You should put all of your transform modules there, each one in a separate file. Codemud will use the name of the files to generate the name of the codemuds. These can also be Typescript modules, in this case, that may be good to install the jscodeshift types inside your .codemud folder:
// inside <project-root>/.codemud

$ npm install @types/jscodeshift --save-dev

What to contribute? Check here

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft