RegistryBlogAboutContactPricingDocsStar us
⌘K

Use case

Framework

Owner

  • TypeScript/V5.6/Arrow Function Condition To Binary Expression

    Identify cases where an arrow function is mistakenly used instead of a comparison operator (e.g., x => 0 instead of x >= 0) and convert the arrow function expressions to proper comparison operations.

    by@alexbit-codemod
  • TypeScript/V5.6/Add Test For Regex In Conditional

    Add .test() to regex literals in conditionals

    by@alexbit-codemod
  • E18e Module Replacements Recipe

    This recipe has 150+ codemods in this repo: https://github.com/es-tooling/module-replacements-codemods

    by@alexbit-codemod
  • Msw/2/Upgrade Recipe

    This recipe is a set of codemods that will upgrade your project from using msw v1 to v2.

    Codemod verified

    Regularly tested and maintained by our engineers and codemod expert community

    by@alexbit-codemod
  • React Router/4/Wrap With Switch

    Codemod verified

    Regularly tested and maintained by our engineers and codemod expert community

    by@alexbit-codemod
  • React Router/4/Use History Hook

    Run this codemod to deprecate browserHistory and use history from useHistory hook instead.

    Codemod verified

    Regularly tested and maintained by our engineers and codemod expert community

    by@alexbit-codemod
  • React Router/4/Replace Param Prop

    Replaces params prop passed by react-router with match.params.

    Codemod verified

    Regularly tested and maintained by our engineers and codemod expert community

    by@alexbit-codemod
  • React Router/4/Replace Nested Routes

    Run this codemod to deprecate nested components through the use of render prop of the parent component.

    Codemod verified

    Regularly tested and maintained by our engineers and codemod expert community

    by@alexbit-codemod
  • React Router/4/Replace Location Query

    This codemod replaces instances of location.query with parse(location.search), where parse is a function imported from query-string.

    Codemod verified

    Regularly tested and maintained by our engineers and codemod expert community

    by@alexbit-codemod
  • React Router/4/Rename Imports

    Replace react-router import source with react-router-dom.

    Codemod verified

    Regularly tested and maintained by our engineers and codemod expert community

    by@alexbit-codemod
  • React Router/4/Remove With Props

    Codemod verified

    Regularly tested and maintained by our engineers and codemod expert community

    by@alexbit-codemod
  • React Router/4/Index Route

    Replace IndexRoute with Route having exact prop set to true.

    Codemod verified

    Regularly tested and maintained by our engineers and codemod expert community

    by@alexbit-codemod
  • React Router/4/Hash Router

    Run this codemod to replace Router using hashHistory to HashRouter in v4.

    Codemod verified

    Regularly tested and maintained by our engineers and codemod expert community

    by@alexbit-codemod
  • React Router/4/Create Hash History

    Codemod verified

    Regularly tested and maintained by our engineers and codemod expert community

    by@alexbit-codemod
  • React Router/4/Browser Router

    Run this codemod to replace Router using browserHistory to BrowserRouter in v4.

    Codemod verified

    Regularly tested and maintained by our engineers and codemod expert community

    by@alexbit-codemod
  • React Router/4/Add Exact Prop

    Add exact prop to all instances of Route component.

    Codemod verified

    Regularly tested and maintained by our engineers and codemod expert community

    by@alexbit-codemod
  • React Redux/0/Add State Type

    Codemod verified

    Regularly tested and maintained by our engineers and codemod expert community

    by@alexbit-codemod
  • React Native/74/Remove Event Listener Callback

    This codemod removes deprecated handler on any calls to PushNotificationIOS.removeEventListener.

    Codemod verified

    Regularly tested and maintained by our engineers and codemod expert community

    by@alexbit-codemod
  • React Native/74/Remove Alert Action

    This codemod removes references to deprecated alertAction.

    Codemod verified

    Regularly tested and maintained by our engineers and codemod expert community

    by@alexbit-codemod
  • React Native/74/Migrate To Fire Interval Seconds

    This codemod migrates PushNotificationIOS.scheduleLocalNotification deprecated repeatInterval to fireIntervalSeconds.

    Codemod verified

    Regularly tested and maintained by our engineers and codemod expert community

    by@alexbit-codemod

The enterprise
code transformation platform

ProductRegistryPricingSign inDocs
CompanyBlogAbout usCareersContactBrand
LegalSite creditTelemetry ComplianceTerms & ConditionsPrivacySecurity