@ai-sdk/codemod
v1.0.0-canary.5
Published
The AI SDK provides Codemod transformations to help upgrade your codebase when a feature is deprecated, removed, or otherwise changed.
Downloads
343
Readme
AI SDK Codemods
The AI SDK provides Codemod transformations to help upgrade your codebase when a feature is deprecated, removed, or otherwise changed.
Codemods are transformations that run on your codebase programmatically. They allow you to easily apply many changes without having to manually go through every file.
You can run all codemods by running the following command from the root of your project:
npx @ai-sdk/codemod upgrade
Individual codemods can be run by specifying the name of the codemod:
npx @ai-sdk/codemod <codemod-name> <path>
The latest set of codemods can be found in the @ai-sdk/codemod
repository.