npm package
Homepath-to-regexp
Path-to-RegExp is a utility for converting path strings into regular expressions, enabling the matching of dynamic URL segments. It is particularly useful in web applications for routing and handling parameters in URLs.
- lurq health score
- 78/100
- Confidence
- proven
- Weekly downloads
- 216,586,139
- Latest version
- 8.4.2
- Last release
- Apr 1, 2026
- License
- MIT
Should you depend on path-to-regexp?
lurq's verdict: low
- No known advisories
Check this from your coding agent
This page is a daily snapshot. lurq's verify tool checks path-to-regexp at the exact version your agent is about to install, and compat checks it against the rest of your stack. One command connects Claude Code, Cursor, VS Code and other agents:
npx lurqrun
Free to start. Quickstart
Other routing packages lurq scores
- @angular/router92/100 · proven
- react-aria91/100 · proven
- @adobe/react-spectrum88/100 · proven
- react-router87/100 · proven
- @earendil-works/pi-tui86/100 · emerging
Scored from public signals (npm registry, GitHub, deps.dev and advisory databases). Data as of Sep 5, 2026; this page refreshes every 24 hours. Source repository.