Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

codemod

Package Overview
Dependencies
Maintainers
0
Versions
99
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

codemod

A codemod engine for Node.js libraries (jscodeshift, ts-morph, etc.)

  • 0.15.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5.9K
increased by8.91%
Maintainers
0
Weekly downloads
 
Created
Source

Codemod


GitHub · Documentation . Community

The Codemod platform helps you create, distribute, and deploy codemods in codebases of any size.

The AI-powered, community-led codemods enable you to automate framework upgrades, large refactoring, and boilerplate programming with unparalleled speed and developer experience.

npm i -g codemod

Usage & Documentation

For details on how to use the Codemod platform, check out our documentation.

Quickstart

List available codemods

The list command can be used to list all codemods available in the Codemod Registry.

codemod list

Running a codemod

codemod [codemod-name]
Example
codemod next/13/app-router-recipe

Create codemod with AI

The learn command can be used to send the diff of the latest edited file to the Codemod Studio and have it automatically build an explainable and debuggable codemod.

codemod learn

After running this command, if any git diff exists, codemod will use the diff as before/after snippets in the Codemod Studio.

Community

The Codemod community can be found on Slack, where you can ask questions, share your feedback, and contribute to the community.

Our Code of Conduct applies to all Codemod community channels.

Telemetry

We collect anonymous usage data to improve our product. Collected data cannot be linked to individual users. We do not store personal data/code.

For more details and samples of collected data see our telemetry compliance considerations doc.

Keywords

FAQs

Package last updated on 06 Dec 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc