awesome-repositories.com
المدونة
MCP
awesome-repositories.com

اكتشف أفضل مستودعات المصادر المفتوحة باستخدام بحث مدعوم بالذكاء الاصطناعي.

استكشفعمليات بحث منسقةبدائل مفتوحة المصدربرمجيات ذاتية الاستضافةالمدونةخريطة الموقع
المشروعحولكيفية ترتيب النتائجالصحافةخادم MCP
قانونيالخصوصيةالشروط
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
pillarjs avatar

pillarjs/path-to-regexp

0
View on GitHub↗
8,597 نجوم·484 تفرعات·TypeScript·MIT·2 مشاهدات

Path To Regexp

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 parameter placeholders.

The library covers a broader range of routing utilities, including token-based path parsing and the ability to define custom parameter delimiters. It also supports anchor-controlled matching to determine if a regular expression must match from the beginning or end of an input string.

Features

  • Route Pattern Matching - Provides the core mechanism for mapping network paths to handlers using regular expression patterns.
  • Regex-Based Route Matching - Transforms parameterized path strings into regular expressions for matching web addresses and extracting capture groups.
  • Route-Based Generators - Generates optimized regular expression patterns from human-readable path strings for routing purposes.
  • Token-Based URL Matchers - Matches dynamic URL segments by replacing named tokens and regular expressions inside route definitions.
  • URL Path Parameterization - Creates dynamic URL paths by injecting specific values into placeholders within parameterized templates.
  • String Tokenization - Breaks path strings into a structured sequence of tokens for the purpose of matching or compilation.
  • Route Tokenization - Deconstructs path strings into structured tokens to separate literal segments from dynamic parameters.
  • Token Set Matching - Transforms a path string into a sequence of tokens to enable regular expression compilation.
  • URL Route Mapping - Maps flexible URL patterns to specific handlers or logic within a web application.
  • Route Parameter Parsers - Provides utilities for extracting and validating dynamic URL segments from path strings.
  • Route Path Generators - Generates valid URL paths by injecting provided key-value pairs into parameterized path templates.
  • Route Pattern Compilers - Transforms path strings containing parameters and wildcards into regular expressions for URL matching.
  • Route Path Generators - Programmatically derives URL paths by injecting values into parameterized templates.
  • URL Parameter Extraction - Matches strings against path patterns to extract named segments and wildcards as structured objects.
  • Template Compilers - Transforms parameterized path templates into valid URL strings by injecting specific key-value pairs.
  • Bidirectional Mappings - Implements bidirectional mappings allowing conversion between URL strings and their internal tokenized representations.
  • Path Parameter Converters - Converts parameterized path strings into regular expressions to handle and match URL route parameters.
  • Regex and Pattern Matching - Converts path strings into regular expressions.

سجل النجوم

مخطط تاريخ النجوم لـ pillarjs/path-to-regexpمخطط تاريخ النجوم لـ pillarjs/path-to-regexp

بحث بالذكاء الاصطناعي

استكشف المزيد من المستودعات الرائعة

صف ما تحتاجه بلغة بسيطة — وسيقوم الذكاء الاصطناعي بترتيب آلاف المشاريع مفتوحة المصدر المنسقة حسب الصلة.

Start searching with AI

بدائل مفتوحة المصدر لـ Path To Regexp

مشاريع مفتوحة المصدر مشابهة، مرتبة حسب عدد الميزات المشتركة مع Path To Regexp.
  • reacttraining/react-routerالصورة الرمزية لـ ReactTraining

    ReactTraining/react-router

    56,473عرض على GitHub↗

    React Router is a client-side routing library for React that maps browser URLs to specific user interface components. It functions as a declarative navigation framework used to manage application state and navigation paths within single-page applications. The library handles the extraction of dynamic URL parameters to render content based on the current browser path. It synchronizes application state with the browser URL, enabling the use of the back and forward buttons and allowing for bookmarking. The framework covers declarative UI navigation and browser history management. It employs URL

    TypeScript
    عرض على GitHub↗56,473
  • lukepighetti/fluroالصورة الرمزية لـ lukepighetti

    lukepighetti/fluro

    3,713عرض على GitHub↗

    Fluro is a routing library for Flutter applications that provides a system for managing screen transitions and application navigation. It functions as a navigation manager that maps string paths to specific views using a centralized route definition system. The library features a wildcard route parser and dynamic path matching, allowing for the extraction of named parameters from URLs at runtime. It also includes a custom page transition framework to define and execute animation effects as screens enter and exit the visible area. The project covers the transfer of complex data objects betwee

    Dartflutterflutter-routingparameters
    عرض على GitHub↗3,713
  • flatiron/directorالصورة الرمزية لـ flatiron

    flatiron/director

    5,575عرض على GitHub↗

    Director is a routing library for JavaScript that handles URL and command-line pattern matching across client-side, server-side, and CLI environments. It provides a unified approach to defining routes as nested object literals, where each key maps to a URL segment and its handler, supporting both hash fragment monitoring and the HTML5 History API for browser navigation without page reloads. The library distinguishes itself through its ability to operate in multiple contexts with a single routing paradigm. It supports asynchronous handler queue execution for sequential tasks like authenticatio

    JavaScript
    عرض على GitHub↗5,575
  • visionmedia/page.jsالصورة الرمزية لـ visionmedia

    visionmedia/page.js

    7,681عرض على GitHub↗

    page.js is a client-side JavaScript router for single-page applications that maps URL patterns to executable functions. It functions as a navigation engine and browser history manager, implementing a middleware-based path-mapping system similar to the Express web framework. The library distinguishes itself through an Express-style router model, utilizing a middleware callback chain and a shared context object to pass data between navigation handlers. It supports advanced window management, allowing for multiple router instances to handle navigation independently across different windows or em

    JavaScript
    عرض على GitHub↗7,681
عرض جميع البدائل الـ 30 لـ Path To Regexp→

الأسئلة الشائعة

ما هي وظيفة pillarjs/path-to-regexp؟

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.

ما هي الميزات الرئيسية لـ pillarjs/path-to-regexp؟

الميزات الرئيسية لـ pillarjs/path-to-regexp هي: Route Pattern Matching, Regex-Based Route Matching, Route-Based Generators, Token-Based URL Matchers, URL Path Parameterization, String Tokenization, Route Tokenization, Token Set Matching.

ما هي البدائل مفتوحة المصدر لـ pillarjs/path-to-regexp؟

تشمل البدائل مفتوحة المصدر لـ pillarjs/path-to-regexp: flatiron/director — Director is a routing library for JavaScript that handles URL and command-line pattern matching across client-side,… reacttraining/react-router — React Router is a client-side routing library for React that maps browser URLs to specific user interface components.… lukepighetti/fluro — Fluro is a routing library for Flutter applications that provides a system for managing screen transitions and… visionmedia/page.js — page.js is a client-side JavaScript router for single-page applications that maps URL patterns to executable… zijianhe/koa-router — koa-router is a routing middleware for Koa applications that maps incoming HTTP requests to specific handler functions… iron/iron — Iron is a Rust web framework used for building concurrent web applications and APIs. It functions as a concurrent HTTP…