Checks if a path template has parameters. Used to determine the order of arguments in pathcat()
.
Drops the protocol from the start of a url string
Extracts url parameters from a route template string
Joins multiple paths together, removing up to 1 duplicate slash between each pair
Represents a parameter value that can be used in a URL path.
Joins a path template with a query object, returning a path with the query appended and parameters replaced.
Represents a query object, where each key is a parameter name and each value is a parameter value.
If the template has URL params (like /users/:user_id/posts
), the query object must contain at least the user_id param
Represents a parameter value that can be used in a URL query. This can be either a single value or an array of values.