Path Ranker

A vue router path rank tester

Change paths entries and verify the result on the right. Entries appear sorted in descendant score order. You can customize global options and also apply overrides. The syntax is explained by Vue Router documentation. You can for example use custom regexes like /:id(\d+) and repeatable parameters like /:id+. Make sure to double escape backslahes in your project.
The numbers in a box that looks like this 80 are the score of the path.
If you found a ranking that seems wrong, please share the URL with me by DM on Twitter or Discord.

Paths to rank

Configure global options. They will be applied to every path.



Ranking results

80/home

Regexp: /^\/home\/?$/i

60/:page

Regexp: /^\/([^/]+?)\/?$/i

/ has no params.