Reverse arguments to URL?
i-tengfei opened this issue · 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