Crossroad icon indicating copy to clipboard operation
Crossroad copied to clipboard

Reverse arguments to URL?

Open i-tengfei opened this issue 3 years ago • 0 comments

Does it support generating URLs from patterns and arguments? like:

toPath("/user/:id", [ id: "123" ]); //=> "/user/123"

https://github.com/pillarjs/path-to-regexp#compile-reverse-path-to-regexp

i-tengfei avatar May 18 '22 08:05 i-tengfei