{"adoption": {"forks": 137, "observed_at": "2026-09-03T02:15:16.989571+00:00", "stars": 1050}, "canonical_url": "https://ross.abutalabs.com/products/swift-case-paths", "card": {"archived": false, "artifact_type": "library", "description": "🧰 Case paths extends the key path hierarchy to enum cases.", "domain": ["programming-languages", "developer-tools", "mobile-development"], "enriched": true, "function": ["type-system", "developer-tools"], "health_score": 100, "homepage": "https://www.pointfree.co/collections/enums-and-structs/case-paths", "language": "Swift", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["pointfreeco/swift-case-paths"], "name": "pointfreeco/swift-case-paths", "platform": ["cross-platform"], "pushed_at": "2026-09-02T22:02:21+00:00", "repo": "pointfreeco/swift-case-paths", "stars": 1050, "tags": ["swift", "enums", "keypaths", "functional-programming", "swift-package-manager", "ios", "macos"], "topics": ["swift", "keypaths"], "urls": [], "use_cases": ["get key-path-like access to enum cases in Swift", "write generic code that reads or modifies enum case payloads", "embed and extract enum case data in SwiftUI bindings", "build composable Swift architectures that need enum case optics", "pattern-match enum cases generically in library code"], "what_it_is": "CasePaths is a Swift library that extends the key path hierarchy to enum cases, enabling generic inspection and modification of enum case data. It is developed by Point-Free and commonly used as a building block in other Swift libraries such as the Composable Architecture.", "when_to_avoid": ["your project does not use Swift or Apple/Swift ecosystems", "you only need simple switch statements and never need generic enum case access", "you want to avoid third-party dependencies in a small app"], "when_to_choose": ["you write Swift libraries that need to abstract over enum cases like key paths do for properties", "you use TCA or other Point-Free libraries that rely on case paths", "you want type-safe, compiler-checked access to enum case associated values"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/swift-case-paths", "repo": "pointfreeco/swift-case-paths", "role": "main", "score": 96}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-09-03T02:15:16.989571+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T07:00:23.750580+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "826589fc906921b3f610dc0c162b7ef638ea7d9388dd4a1be43fe628acc08ddc", "fetched_at": "2026-09-03T02:15:16.989571+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pointfreeco/swift-case-paths"}, {"content_hash": "b4196931b0b7202a61914915340be763b5e65ab6612c7b0f2865f90c217732d8", "fetched_at": "2026-08-29T13:01:38.819524+00:00", "kind": "homepage", "missing": false, "url": "https://www.pointfree.co/collections/enums-and-structs/case-paths"}, {"content_hash": "c3a02fbfb6806f55a424fb878fcffdfd55ef8cd3233958fa0a73501811e565bf", "fetched_at": "2026-08-29T13:01:38.824612+00:00", "kind": "site_page", "missing": false, "url": "https://www.pointfree.co/about"}, {"content_hash": "3740f4fb15174266fd84eaf9b2e8f934cd75b3f32cd361f968def9e4e782b5d5", "fetched_at": "2026-08-29T13:01:38.822275+00:00", "kind": "site_page", "missing": false, "url": "https://www.pointfree.co/pricing"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-09-03T02:15:16.989571+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T07:00:23.750580+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "826589fc906921b3f610dc0c162b7ef638ea7d9388dd4a1be43fe628acc08ddc", "fetched_at": "2026-09-03T02:15:16.989571+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pointfreeco/swift-case-paths"}, {"content_hash": "b4196931b0b7202a61914915340be763b5e65ab6612c7b0f2865f90c217732d8", "fetched_at": "2026-08-29T13:01:38.819524+00:00", "kind": "homepage", "missing": false, "url": "https://www.pointfree.co/collections/enums-and-structs/case-paths"}, {"content_hash": "c3a02fbfb6806f55a424fb878fcffdfd55ef8cd3233958fa0a73501811e565bf", "fetched_at": "2026-08-29T13:01:38.824612+00:00", "kind": "site_page", "missing": false, "url": "https://www.pointfree.co/about"}, {"content_hash": "3740f4fb15174266fd84eaf9b2e8f934cd75b3f32cd361f968def9e4e782b5d5", "fetched_at": "2026-08-29T13:01:38.822275+00:00", "kind": "site_page", "missing": false, "url": "https://www.pointfree.co/pricing"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T07:00:23.750580+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "826589fc906921b3f610dc0c162b7ef638ea7d9388dd4a1be43fe628acc08ddc", "fetched_at": "2026-09-03T02:15:16.989571+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pointfreeco/swift-case-paths"}, {"content_hash": "b4196931b0b7202a61914915340be763b5e65ab6612c7b0f2865f90c217732d8", "fetched_at": "2026-08-29T13:01:38.819524+00:00", "kind": "homepage", "missing": false, "url": "https://www.pointfree.co/collections/enums-and-structs/case-paths"}, {"content_hash": "c3a02fbfb6806f55a424fb878fcffdfd55ef8cd3233958fa0a73501811e565bf", "fetched_at": "2026-08-29T13:01:38.824612+00:00", "kind": "site_page", "missing": false, "url": "https://www.pointfree.co/about"}, {"content_hash": "3740f4fb15174266fd84eaf9b2e8f934cd75b3f32cd361f968def9e4e782b5d5", "fetched_at": "2026-08-29T13:01:38.822275+00:00", "kind": "site_page", "missing": false, "url": "https://www.pointfree.co/pricing"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-09-03T02:15:16.989571+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-09-03T02:15:16.989571+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-09-03T02:15:16.989571+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T07:00:23.750580+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "826589fc906921b3f610dc0c162b7ef638ea7d9388dd4a1be43fe628acc08ddc", "fetched_at": "2026-09-03T02:15:16.989571+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pointfreeco/swift-case-paths"}, {"content_hash": "b4196931b0b7202a61914915340be763b5e65ab6612c7b0f2865f90c217732d8", "fetched_at": "2026-08-29T13:01:38.819524+00:00", "kind": "homepage", "missing": false, "url": "https://www.pointfree.co/collections/enums-and-structs/case-paths"}, {"content_hash": "c3a02fbfb6806f55a424fb878fcffdfd55ef8cd3233958fa0a73501811e565bf", "fetched_at": "2026-08-29T13:01:38.824612+00:00", "kind": "site_page", "missing": false, "url": "https://www.pointfree.co/about"}, {"content_hash": "3740f4fb15174266fd84eaf9b2e8f934cd75b3f32cd361f968def9e4e782b5d5", "fetched_at": "2026-08-29T13:01:38.822275+00:00", "kind": "site_page", "missing": false, "url": "https://www.pointfree.co/pricing"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-09-03T02:15:16.989571+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-09-03T02:15:16.989571+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T07:00:23.750580+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "826589fc906921b3f610dc0c162b7ef638ea7d9388dd4a1be43fe628acc08ddc", "fetched_at": "2026-09-03T02:15:16.989571+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pointfreeco/swift-case-paths"}, {"content_hash": "b4196931b0b7202a61914915340be763b5e65ab6612c7b0f2865f90c217732d8", "fetched_at": "2026-08-29T13:01:38.819524+00:00", "kind": "homepage", "missing": false, "url": "https://www.pointfree.co/collections/enums-and-structs/case-paths"}, {"content_hash": "c3a02fbfb6806f55a424fb878fcffdfd55ef8cd3233958fa0a73501811e565bf", "fetched_at": "2026-08-29T13:01:38.824612+00:00", "kind": "site_page", "missing": false, "url": "https://www.pointfree.co/about"}, {"content_hash": "3740f4fb15174266fd84eaf9b2e8f934cd75b3f32cd361f968def9e4e782b5d5", "fetched_at": "2026-08-29T13:01:38.822275+00:00", "kind": "site_page", "missing": false, "url": "https://www.pointfree.co/pricing"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-09-03T02:15:16.989571+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-09-03T02:15:16.989571+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-09-03T02:15:16.989571+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T07:00:23.750580+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "826589fc906921b3f610dc0c162b7ef638ea7d9388dd4a1be43fe628acc08ddc", "fetched_at": "2026-09-03T02:15:16.989571+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pointfreeco/swift-case-paths"}, {"content_hash": "b4196931b0b7202a61914915340be763b5e65ab6612c7b0f2865f90c217732d8", "fetched_at": "2026-08-29T13:01:38.819524+00:00", "kind": "homepage", "missing": false, "url": "https://www.pointfree.co/collections/enums-and-structs/case-paths"}, {"content_hash": "c3a02fbfb6806f55a424fb878fcffdfd55ef8cd3233958fa0a73501811e565bf", "fetched_at": "2026-08-29T13:01:38.824612+00:00", "kind": "site_page", "missing": false, "url": "https://www.pointfree.co/about"}, {"content_hash": "3740f4fb15174266fd84eaf9b2e8f934cd75b3f32cd361f968def9e4e782b5d5", "fetched_at": "2026-08-29T13:01:38.822275+00:00", "kind": "site_page", "missing": false, "url": "https://www.pointfree.co/pricing"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-09-03T02:15:16.989571+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-09-03T02:15:16.989571+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T07:00:23.750580+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "826589fc906921b3f610dc0c162b7ef638ea7d9388dd4a1be43fe628acc08ddc", "fetched_at": "2026-09-03T02:15:16.989571+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pointfreeco/swift-case-paths"}, {"content_hash": "b4196931b0b7202a61914915340be763b5e65ab6612c7b0f2865f90c217732d8", "fetched_at": "2026-08-29T13:01:38.819524+00:00", "kind": "homepage", "missing": false, "url": "https://www.pointfree.co/collections/enums-and-structs/case-paths"}, {"content_hash": "c3a02fbfb6806f55a424fb878fcffdfd55ef8cd3233958fa0a73501811e565bf", "fetched_at": "2026-08-29T13:01:38.824612+00:00", "kind": "site_page", "missing": false, "url": "https://www.pointfree.co/about"}, {"content_hash": "3740f4fb15174266fd84eaf9b2e8f934cd75b3f32cd361f968def9e4e782b5d5", "fetched_at": "2026-08-29T13:01:38.822275+00:00", "kind": "site_page", "missing": false, "url": "https://www.pointfree.co/pricing"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T07:00:23.750580+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "826589fc906921b3f610dc0c162b7ef638ea7d9388dd4a1be43fe628acc08ddc", "fetched_at": "2026-09-03T02:15:16.989571+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pointfreeco/swift-case-paths"}, {"content_hash": "b4196931b0b7202a61914915340be763b5e65ab6612c7b0f2865f90c217732d8", "fetched_at": "2026-08-29T13:01:38.819524+00:00", "kind": "homepage", "missing": false, "url": "https://www.pointfree.co/collections/enums-and-structs/case-paths"}, {"content_hash": "c3a02fbfb6806f55a424fb878fcffdfd55ef8cd3233958fa0a73501811e565bf", "fetched_at": "2026-08-29T13:01:38.824612+00:00", "kind": "site_page", "missing": false, "url": "https://www.pointfree.co/about"}, {"content_hash": "3740f4fb15174266fd84eaf9b2e8f934cd75b3f32cd361f968def9e4e782b5d5", "fetched_at": "2026-08-29T13:01:38.822275+00:00", "kind": "site_page", "missing": false, "url": "https://www.pointfree.co/pricing"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T07:00:23.750580+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "826589fc906921b3f610dc0c162b7ef638ea7d9388dd4a1be43fe628acc08ddc", "fetched_at": "2026-09-03T02:15:16.989571+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pointfreeco/swift-case-paths"}, {"content_hash": "b4196931b0b7202a61914915340be763b5e65ab6612c7b0f2865f90c217732d8", "fetched_at": "2026-08-29T13:01:38.819524+00:00", "kind": "homepage", "missing": false, "url": "https://www.pointfree.co/collections/enums-and-structs/case-paths"}, {"content_hash": "c3a02fbfb6806f55a424fb878fcffdfd55ef8cd3233958fa0a73501811e565bf", "fetched_at": "2026-08-29T13:01:38.824612+00:00", "kind": "site_page", "missing": false, "url": "https://www.pointfree.co/about"}, {"content_hash": "3740f4fb15174266fd84eaf9b2e8f934cd75b3f32cd361f968def9e4e782b5d5", "fetched_at": "2026-08-29T13:01:38.822275+00:00", "kind": "site_page", "missing": false, "url": "https://www.pointfree.co/pricing"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T07:00:23.750580+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "826589fc906921b3f610dc0c162b7ef638ea7d9388dd4a1be43fe628acc08ddc", "fetched_at": "2026-09-03T02:15:16.989571+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pointfreeco/swift-case-paths"}, {"content_hash": "b4196931b0b7202a61914915340be763b5e65ab6612c7b0f2865f90c217732d8", "fetched_at": "2026-08-29T13:01:38.819524+00:00", "kind": "homepage", "missing": false, "url": "https://www.pointfree.co/collections/enums-and-structs/case-paths"}, {"content_hash": "c3a02fbfb6806f55a424fb878fcffdfd55ef8cd3233958fa0a73501811e565bf", "fetched_at": "2026-08-29T13:01:38.824612+00:00", "kind": "site_page", "missing": false, "url": "https://www.pointfree.co/about"}, {"content_hash": "3740f4fb15174266fd84eaf9b2e8f934cd75b3f32cd361f968def9e4e782b5d5", "fetched_at": "2026-08-29T13:01:38.822275+00:00", "kind": "site_page", "missing": false, "url": "https://www.pointfree.co/pricing"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 100, "longevity": 100, "rhythm": 88}, "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": 2402, "days_push": 0, "days_rel": 2, "gap_med": 51.5, "n_releases_24m": 13}, "score": 96, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 3, "stale_scrape": false}}