Skip to content

A catch-all repo for some community-driven codemods.

License

Notifications You must be signed in to change notification settings

codemod-com/commons

Repository files navigation

Codemod Commons

Codemods, public or private, are preferred to reside in repositories owned by the main organization of their respective projects. This repository serves as a catch-all for some codemod sources that still have not found thier way to their ideal home or for Codemod-compatible forks of existing codemods for easier publishing. Please chat with us before making any major contribution.

Usage

Caution

These scripts change source code. Commit any unsaved changes before running them. Failing to do so may ruin your day.

To run the transform scripts use codemod command below:

$ npx codemod <transform> --target <path> [...options]
  • transform - name of transform. see available transforms below.
  • path - directory to transform. defaults to the current directory.

See the codemod CLI doc for a full list of available commands.

All codemods are also available in the Codemod Registry.

About

A catch-all repo for some community-driven codemods.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published