Ross ROSS = Recommend OSS · open-source software intelligence for agents

pillarjs/path-to-regexp

Some data may be outdated — see provenance labels.

Turn a path string such as `/user/:name` into a regular expression observed · 2026-09-25

github.com/pillarjs/path-to-regexp · TypeScript · MIT (permissive) observed · 2026-09-25

Health v2 · maintenance only

88/100

  • Activity 96
  • Release rhythm 70
  • Longevity 100

Flags: no_readme

How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.

  • gap_med: 4
  • age_days: 5193
  • days_rel: 202
  • days_push: 28
  • n_releases_24m: 6

Full methodology

Adoption not part of the score

8609 stars · 488 forks observed · 2026-09-25

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

A TypeScript library that converts path strings like `/user/:name` into regular expressions for route matching. It supports named parameters, wildcards, optional segments, and reverse compilation of paths from parameters.

Use cases

  • match url paths with named parameters like /user/:name
  • convert route patterns to regular expressions
  • extract route params from a url path
  • build a router with wildcard and optional path segments
  • generate url paths from route templates and params
  • validate whether a path matches a route pattern

When to choose

  • you need express-style path matching in a nodejs router or framework
  • you want to parse parameters from ordered path strings
  • you need to compile parameterized paths back into url strings

When to avoid

  • you need to match query strings or arbitrarily ordered url data
  • you need a full-featured router rather than a path-matching utility
  • you are not working with path-like ordered strings

Facets

library · maturity stable

routing parser web-framework web-development backend developer-tools path-matching regexp express url-routing route-parameters nodejs javascript typescript

2 sources

Member repositories

RepositoryRoleHealth v2
pillarjs/path-to-regexpmain88

For agents

markdown · JSON · MCP: product_card(name="pillarjs/path-to-regexp")

Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem