Registry
C

next/13/ab-test

No description available

Codemod140 executions

  • Legacy
  • next.js
  • migration
Connect a repo
npx codemod next/13/ab-test

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.

Ready to evolve your codebase?

Build tailored, compiler-aware skills to assess, plan, and automate complex codebase changes.