1 مستودع
Tools that compile human-readable path templates into functional regular expressions.
Distinguishing note: Existing candidates focus on regex-to-regex conversion or file-path-to-URL mapping, not path-template-to-regex compilation.
Explore 1 awesome GitHub repository matching web development · Route Pattern Compilers. Refine with filters or upvote what's useful.
path-to-regexp is an HTTP route matcher and regular expression generator that transforms parameterized path strings into regular expressions for matching web addresses. It functions as a URL route parser and pattern compiler, enabling the conversion of human-readable path templates into functional expressions for routing. The project provides capabilities for extracting named parameters and wildcards from URLs based on defined path patterns. It also handles the reverse process of dynamic path generation, transforming key-value pairs into formatted path strings by injecting values into defined
Transforms path strings containing parameters and wildcards into regular expressions for URL matching.