Path Parser
JSON →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.
Traffic · last 30 days ↑100% vs prev 7d
top countries 🇺🇸 United States · 🇫🇷 France · 🇨🇦 Canada · 🇩🇪 Germany · 🇳🇴 Norway