Formerly: CodeshiftCommunity
The community-owned global registry and documentation hub for codemods. Providing library maintainers & users with facilities to help write, test, publish and consume codemods in a structured, standardized and familiar way.
💬 Join our community on Discord
🔭 Explore an extensive list of codemods contributed by the community.
✨ Create, test and publish codemods from anywhere.
⚡️ Use our helpers & testing utilities to make writing codemods a breeze.
🧠 Up-skill your engineering team using our guides & resources.
🎨 Perfect for Design Systems & Monorepos.
🦄 Bring your own AST transformer.
- Writing codemods
- Testing codemods
- Guides & learning resources
- Publishing & contribution
- Consuming codemods
The registry contains all community contributed codemods, hosted and published directly from the CodeshiftCommunity repository.
Source for these packages are located in the /community folder.
Downloading and running codemods as well as initialising and maintaining codemod packages can all be done via the Hypermod CLI (@hypermod/cli
).
Please see the docs for more information and examples
We recommend running the CLI with $ npx to ensure you always have the latest version.
$ npx @hypermod/cli --packages mylib@1.0.0 /project/src
But it can also be installed globally:
$ npm install -g @hypermod/cli or yarn global add @hypermod/cli
and run with:
$ hypermod or $ hypermod-cli
Huge thanks for all of the support from our sponsors!