{"adoption": {"forks": 484, "observed_at": "2026-08-28T04:10:23.757547+00:00", "stars": 8602}, "canonical_url": "https://ross.abutalabs.com/products/path-to-regexp", "card": {"archived": false, "artifact_type": "library", "description": "Turn a path string such as `/user/:name` into a regular expression", "domain": ["web-development", "backend", "developer-tools"], "enriched": true, "function": ["routing", "parser", "web-framework"], "health_score": 96, "homepage": null, "language": "TypeScript", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["pillarjs/path-to-regexp"], "name": "pillarjs/path-to-regexp", "platform": [], "pushed_at": "2026-08-04T04:30:19+00:00", "repo": "pillarjs/path-to-regexp", "stars": 8602, "tags": ["path-matching", "regexp", "express", "url-routing", "route-parameters", "nodejs", "javascript", "typescript"], "topics": ["path-to-regexp", "expressjs", "router", "nodejs"], "urls": [], "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"], "what_it_is": "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.", "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"], "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"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/path-to-regexp", "repo": "pillarjs/path-to-regexp", "role": "main", "score": 90}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:10:23.757547+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T17:26:08.201573+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a8be0563de59a9ec49f1531f58e5d0920d7ef97e70f222d04dfa49bfe3fdb9c1", "fetched_at": "2026-08-28T04:10:23.757547+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pillarjs/path-to-regexp"}, {"content_hash": "c1bccda46d5ea4996762569aca85997d0cab396f84fa6f1e2b7c2b1678cefd99", "fetched_at": "2026-08-29T08:26:37.436312+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/path-to-regexp"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:10:23.757547+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T17:26:08.201573+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a8be0563de59a9ec49f1531f58e5d0920d7ef97e70f222d04dfa49bfe3fdb9c1", "fetched_at": "2026-08-28T04:10:23.757547+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pillarjs/path-to-regexp"}, {"content_hash": "c1bccda46d5ea4996762569aca85997d0cab396f84fa6f1e2b7c2b1678cefd99", "fetched_at": "2026-08-29T08:26:37.436312+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/path-to-regexp"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T17:26:08.201573+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a8be0563de59a9ec49f1531f58e5d0920d7ef97e70f222d04dfa49bfe3fdb9c1", "fetched_at": "2026-08-28T04:10:23.757547+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pillarjs/path-to-regexp"}, {"content_hash": "c1bccda46d5ea4996762569aca85997d0cab396f84fa6f1e2b7c2b1678cefd99", "fetched_at": "2026-08-29T08:26:37.436312+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/path-to-regexp"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:10:23.757547+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:10:23.757547+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:10:23.757547+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T17:26:08.201573+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a8be0563de59a9ec49f1531f58e5d0920d7ef97e70f222d04dfa49bfe3fdb9c1", "fetched_at": "2026-08-28T04:10:23.757547+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pillarjs/path-to-regexp"}, {"content_hash": "c1bccda46d5ea4996762569aca85997d0cab396f84fa6f1e2b7c2b1678cefd99", "fetched_at": "2026-08-29T08:26:37.436312+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/path-to-regexp"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:10:23.757547+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:10:23.757547+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T17:26:08.201573+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a8be0563de59a9ec49f1531f58e5d0920d7ef97e70f222d04dfa49bfe3fdb9c1", "fetched_at": "2026-08-28T04:10:23.757547+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pillarjs/path-to-regexp"}, {"content_hash": "c1bccda46d5ea4996762569aca85997d0cab396f84fa6f1e2b7c2b1678cefd99", "fetched_at": "2026-08-29T08:26:37.436312+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/path-to-regexp"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:10:23.757547+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:10:23.757547+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:10:23.757547+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T17:26:08.201573+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a8be0563de59a9ec49f1531f58e5d0920d7ef97e70f222d04dfa49bfe3fdb9c1", "fetched_at": "2026-08-28T04:10:23.757547+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pillarjs/path-to-regexp"}, {"content_hash": "c1bccda46d5ea4996762569aca85997d0cab396f84fa6f1e2b7c2b1678cefd99", "fetched_at": "2026-08-29T08:26:37.436312+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/path-to-regexp"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:10:23.757547+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:10:23.757547+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T17:26:08.201573+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a8be0563de59a9ec49f1531f58e5d0920d7ef97e70f222d04dfa49bfe3fdb9c1", "fetched_at": "2026-08-28T04:10:23.757547+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pillarjs/path-to-regexp"}, {"content_hash": "c1bccda46d5ea4996762569aca85997d0cab396f84fa6f1e2b7c2b1678cefd99", "fetched_at": "2026-08-29T08:26:37.436312+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/path-to-regexp"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T17:26:08.201573+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a8be0563de59a9ec49f1531f58e5d0920d7ef97e70f222d04dfa49bfe3fdb9c1", "fetched_at": "2026-08-28T04:10:23.757547+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pillarjs/path-to-regexp"}, {"content_hash": "c1bccda46d5ea4996762569aca85997d0cab396f84fa6f1e2b7c2b1678cefd99", "fetched_at": "2026-08-29T08:26:37.436312+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/path-to-regexp"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T17:26:08.201573+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a8be0563de59a9ec49f1531f58e5d0920d7ef97e70f222d04dfa49bfe3fdb9c1", "fetched_at": "2026-08-28T04:10:23.757547+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pillarjs/path-to-regexp"}, {"content_hash": "c1bccda46d5ea4996762569aca85997d0cab396f84fa6f1e2b7c2b1678cefd99", "fetched_at": "2026-08-29T08:26:37.436312+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/path-to-regexp"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T17:26:08.201573+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a8be0563de59a9ec49f1531f58e5d0920d7ef97e70f222d04dfa49bfe3fdb9c1", "fetched_at": "2026-08-28T04:10:23.757547+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pillarjs/path-to-regexp"}, {"content_hash": "c1bccda46d5ea4996762569aca85997d0cab396f84fa6f1e2b7c2b1678cefd99", "fetched_at": "2026-08-29T08:26:37.436312+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/path-to-regexp"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 96, "longevity": 100, "rhythm": 77}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 5145, "days_push": 29, "days_rel": 154, "gap_med": 1.0, "n_releases_24m": 13}, "score": 90, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}