Codemod verified
Regularly tested and maintained by our engineers and codemod expert community.
Next.js
migration
byCodemod
Next/13/Ab Test
Last update
Jul 24, 2024
This codemod generates boilerplate code for A/B tests using the Next.js middlewares. The middleware controls the redirects from the legacy to the future pages. You can control the redirection probability and targeted pages using environment variables.
Build custom codemods
Use AI-powered codemod studio and automate undifferentiated tasks for yourself, colleagues or the community