pillarjs / path-to-regexp

Turn a path string such as `/user/:name` into a regular expression
MIT License
8.18k stars 382 forks source link

pathToRegexp not exported in v7.1.0 #311

Closed zhangdexian closed 2 months ago

blakeembrey commented 2 months ago

I see it in the code here: https://www.npmjs.com/package/path-to-regexp?activeTab=code. What issue are you having?