C

generate-url-patterns

How to Use
Run this codemod on your codebase using one of the following commands

The easiest way to run this codemod without installing anything globally:

Documentation

This codemod generates URL Patterns for all existing paths under the apps router to be placed in the middleware file that controls which pages are active.

Ready to contribute?

Build your own codemod and share it with the community.