intuita v0.7.3
Intuita's Codemod Engine Node
Intuita gives you multiple ways to discover, run & share supported codemods and code automation recipes.
Installation
npm i intuita
Global installation (recommended)
npm i -g intuita
Usage
Running a codemod
intuita [framework/version/codemod-name]
Example (running Next.js app router receipe codemod)
intuita next/13/app-router-recipe
List available codemods
The list
command can be used to list all codemods available in the Codemod Registry.
intuita list
Sync registry
The syncRegistry
command can be used to sync local codemods with the public Codemod Registry.
intuita syncRegistry
Generate codemod from file diff
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.
After running this command, if any git diff exists, Intuita will use the diff as before/after snippets in the Codemod Studio.
intuita learn
Options
--include
--exclude
--targetPath
--sourcePath
--codemodEngine
--fileLimit
--usePrettier
--useCache
--useJson
--threadCount
--dryRun
--telemetryDisable
Contribution
We'd love for you to contribute to the Codemod Engine and the Codemod Registry. Please note that once you create a pull request, you will be asked to sign our Contributor License Agreement.
We're always excited to support codemods for more frameworks and libraries. Contributing allows us to make codemods more accessible to more framework builders, developers, and more.
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.
3 months ago
3 months ago
4 months ago
4 months ago
4 months ago
4 months ago
5 months ago
5 months ago
5 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
5 months ago
5 months ago
5 months ago
6 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago