Path Parser

JSON →
library 6.1.0 ·javascript
verified May 27, 2026

path-parser is a small utility library designed for parsing, matching, and generating URL paths. It allows developers to define path patterns with various parameter types (URL, matrix, splat, query) and apply regular expression constraints. It supports full and partial path matching, returning extracted parameters, and robust path building. The current stable version is 6.1.0, as indicated by the package.json and npm badge. While a specific release cadence isn't explicitly documented, the package appears actively maintained given its versioning and features. Its key differentiators include comprehensive parameter definition, robust constraint enforcement during path building, and flexible matching options (case-sensitive, strict trailing slash, delimited partial matching), making it a foundational tool for routing libraries like `route-node`. The library ships with TypeScript types, enhancing development experience for TypeScript users.

total hits 19
actors 8 distinct systems
last hit 4d ago AhrefsBot
MetaBot
4
GPTBot
2
Script
1
ClaudeBot
1
Search engines
2

top countries 🇺🇸 United States · 🇫🇷 France · 🇨🇦 Canada · 🇩🇪 Germany · 🇳🇴 Norway