path-to-regexp
path-to-regexp copied to clipboard
Turn a path string such as `/user/:name` into a regular expression
Without the path users need to search all their code for a malformed path or debug to find the issue Closes: #336
Show the URL that is giving the error to help debugging instead of just giving the debug url.
Relates to: #336
## Problem Tree-shaking is not working with v7 and above because the ESM build has been removed. I am the author of [Paraglide JS](https://inlang.com/m/gerre34r/library-inlang-paraglideJs). Tree-shaking is a key differentiator. For...
I try to update from v6 to v8 but have a problem with build and typescript when I try to use current CJS build I got [ERROR] exports is not...