将诸如 `/user/:name` 的路径字符串转换为正则表达式
path-to-regexp 开源项目推荐(23 个)
path-to-regexp 话题在 GitHub 上没有填写简介,这里按 Star 数汇总最相关的热门仓库。
热门项目 前 20
按 Star 数排序展示前 20 个 · GitHub 共 23 个仓库A tiny (394B) utility that converts route patterns into RegExp. Limited alternative to `path-to-regexp` 🙇♂️
Turn a path string such as `/user/:name` into a regular expression
path-to-regexp 的微小且快速的替代方案
A website collection and navigation platform
A spec-compliant implementation of the WHATWG URL Pattern Living Standard written in Go.
React Location with Path-to-RegExp
Simple routing middleware for fetch
A light-weight implementation for easy route parameters
finds and decodes best matching path
Micro version of express routing
A lightweight Swift path pattern matcher for URL-style routing — supports named parameters, optional segments, and splat wildcards.
A lightweight route pattern parser, matcher and compiler.
Utility web application for checking route patterns with path-to-regexp
Turn a regular expression (named capturing group) into a path string
Lightweight utility for converting route patterns into regular expressions.
The simple router package for React with path-to-regexp.
Building a clone of the inner workings of React Router from scratch.
path-to-regexp notes.
creation of react router clone
关于这个话题
- 清单按 Star 数挑选该话题下最热门的 20 个项目,对应的话题主页见 https://github.com/topics/path-to-regexp。
- 该话题在 GitHub 上共有 23 个仓库, 这里呈现的是其中最具代表性的 20 个,不是全量列表。
- 星标与复刻数以 GitHub 上的实时数字为准。
- 当前 20 个项目累计 9320 Star,覆盖 5 种主要语言。
- 中文简介由本站编译整理,可点「查看原文」对照项目方提供的原始说明。