{"adoption": {"forks": 48, "observed_at": "2026-08-28T04:05:25.884294+00:00", "stars": 1712}, "canonical_url": "https://ross.abutalabs.com/products/z-pattern-matching-z", "card": {"archived": false, "artifact_type": "library", "description": "Pattern Matching for Javascript", "domain": ["programming-languages", "web-development"], "enriched": true, "function": ["parser", "developer-tools"], "health_score": 20, "homepage": "https://z-pattern-matching.github.io/", "language": "JavaScript", "license": "Apache-2.0", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["z-pattern-matching/z"], "name": "z-pattern-matching/z", "platform": ["cross-platform"], "pushed_at": "2023-10-28T18:22:35+00:00", "repo": "z-pattern-matching/z", "stars": 1712, "tags": ["pattern-matching", "functional-programming", "immutability", "switch-statement", "algorithms", "nodejs", "javascript"], "topics": ["pattern-matching", "functional-programming", "immutability"], "urls": [], "use_cases": ["match objects by property values in javascript", "pattern match on array contents with head and tail", "replace switch statements with pattern matching", "match values by type or class instance", "write recursive array processing with pattern matching", "functional style conditionals in node.js"], "what_it_is": "A JavaScript library providing native-style pattern matching, allowing expressive matching on values, object properties, types, class instances, and array contents with head/tail destructuring. It encourages functional, immutable code as an alternative to imperative conditionals.", "when_to_avoid": ["you need TypeScript-native pattern matching with type safety", "your project is performance-critical and can't afford abstraction overhead", "you need a library with frequent updates and active maintenance"], "when_to_choose": []}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/z-pattern-matching-z", "repo": "z-pattern-matching/z", "role": "main", "score": 23}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:05:25.884294+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T03:34:53.727449+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "416095cd7bb6276f3b2cce3893af418b24f9dcb7795a917c265e5890b1f25687", "fetched_at": "2026-08-28T04:05:25.884294+00:00", "kind": "readme", "missing": false, "url": "https://github.com/z-pattern-matching/z"}, {"content_hash": "316845f1b81f4e10052fcf5eda346e14db4b8ae28383f07458ba1565900b39e2", "fetched_at": "2026-08-29T11:11:20.038919+00:00", "kind": "homepage", "missing": false, "url": "https://z-pattern-matching.github.io/"}, {"content_hash": "6c7ddf3f2986e95517624c48c8b84f2a204d071964f4aa5744c00109dffb6109", "fetched_at": "2026-08-29T11:11:20.048276+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/z"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:05:25.884294+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T03:34:53.727449+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "416095cd7bb6276f3b2cce3893af418b24f9dcb7795a917c265e5890b1f25687", "fetched_at": "2026-08-28T04:05:25.884294+00:00", "kind": "readme", "missing": false, "url": "https://github.com/z-pattern-matching/z"}, {"content_hash": "316845f1b81f4e10052fcf5eda346e14db4b8ae28383f07458ba1565900b39e2", "fetched_at": "2026-08-29T11:11:20.038919+00:00", "kind": "homepage", "missing": false, "url": "https://z-pattern-matching.github.io/"}, {"content_hash": "6c7ddf3f2986e95517624c48c8b84f2a204d071964f4aa5744c00109dffb6109", "fetched_at": "2026-08-29T11:11:20.048276+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/z"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T03:34:53.727449+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "416095cd7bb6276f3b2cce3893af418b24f9dcb7795a917c265e5890b1f25687", "fetched_at": "2026-08-28T04:05:25.884294+00:00", "kind": "readme", "missing": false, "url": "https://github.com/z-pattern-matching/z"}, {"content_hash": "316845f1b81f4e10052fcf5eda346e14db4b8ae28383f07458ba1565900b39e2", "fetched_at": "2026-08-29T11:11:20.038919+00:00", "kind": "homepage", "missing": false, "url": "https://z-pattern-matching.github.io/"}, {"content_hash": "6c7ddf3f2986e95517624c48c8b84f2a204d071964f4aa5744c00109dffb6109", "fetched_at": "2026-08-29T11:11:20.048276+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/z"}], "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:05:25.884294+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:05:25.884294+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:05:25.884294+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T03:34:53.727449+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "416095cd7bb6276f3b2cce3893af418b24f9dcb7795a917c265e5890b1f25687", "fetched_at": "2026-08-28T04:05:25.884294+00:00", "kind": "readme", "missing": false, "url": "https://github.com/z-pattern-matching/z"}, {"content_hash": "316845f1b81f4e10052fcf5eda346e14db4b8ae28383f07458ba1565900b39e2", "fetched_at": "2026-08-29T11:11:20.038919+00:00", "kind": "homepage", "missing": false, "url": "https://z-pattern-matching.github.io/"}, {"content_hash": "6c7ddf3f2986e95517624c48c8b84f2a204d071964f4aa5744c00109dffb6109", "fetched_at": "2026-08-29T11:11:20.048276+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/z"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:05:25.884294+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:05:25.884294+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T03:34:53.727449+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "416095cd7bb6276f3b2cce3893af418b24f9dcb7795a917c265e5890b1f25687", "fetched_at": "2026-08-28T04:05:25.884294+00:00", "kind": "readme", "missing": false, "url": "https://github.com/z-pattern-matching/z"}, {"content_hash": "316845f1b81f4e10052fcf5eda346e14db4b8ae28383f07458ba1565900b39e2", "fetched_at": "2026-08-29T11:11:20.038919+00:00", "kind": "homepage", "missing": false, "url": "https://z-pattern-matching.github.io/"}, {"content_hash": "6c7ddf3f2986e95517624c48c8b84f2a204d071964f4aa5744c00109dffb6109", "fetched_at": "2026-08-29T11:11:20.048276+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/z"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:05:25.884294+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:05:25.884294+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:05:25.884294+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T03:34:53.727449+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "416095cd7bb6276f3b2cce3893af418b24f9dcb7795a917c265e5890b1f25687", "fetched_at": "2026-08-28T04:05:25.884294+00:00", "kind": "readme", "missing": false, "url": "https://github.com/z-pattern-matching/z"}, {"content_hash": "316845f1b81f4e10052fcf5eda346e14db4b8ae28383f07458ba1565900b39e2", "fetched_at": "2026-08-29T11:11:20.038919+00:00", "kind": "homepage", "missing": false, "url": "https://z-pattern-matching.github.io/"}, {"content_hash": "6c7ddf3f2986e95517624c48c8b84f2a204d071964f4aa5744c00109dffb6109", "fetched_at": "2026-08-29T11:11:20.048276+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/z"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:05:25.884294+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:05:25.884294+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T03:34:53.727449+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "416095cd7bb6276f3b2cce3893af418b24f9dcb7795a917c265e5890b1f25687", "fetched_at": "2026-08-28T04:05:25.884294+00:00", "kind": "readme", "missing": false, "url": "https://github.com/z-pattern-matching/z"}, {"content_hash": "316845f1b81f4e10052fcf5eda346e14db4b8ae28383f07458ba1565900b39e2", "fetched_at": "2026-08-29T11:11:20.038919+00:00", "kind": "homepage", "missing": false, "url": "https://z-pattern-matching.github.io/"}, {"content_hash": "6c7ddf3f2986e95517624c48c8b84f2a204d071964f4aa5744c00109dffb6109", "fetched_at": "2026-08-29T11:11:20.048276+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/z"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T03:34:53.727449+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "416095cd7bb6276f3b2cce3893af418b24f9dcb7795a917c265e5890b1f25687", "fetched_at": "2026-08-28T04:05:25.884294+00:00", "kind": "readme", "missing": false, "url": "https://github.com/z-pattern-matching/z"}, {"content_hash": "316845f1b81f4e10052fcf5eda346e14db4b8ae28383f07458ba1565900b39e2", "fetched_at": "2026-08-29T11:11:20.038919+00:00", "kind": "homepage", "missing": false, "url": "https://z-pattern-matching.github.io/"}, {"content_hash": "6c7ddf3f2986e95517624c48c8b84f2a204d071964f4aa5744c00109dffb6109", "fetched_at": "2026-08-29T11:11:20.048276+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/z"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T03:34:53.727449+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "416095cd7bb6276f3b2cce3893af418b24f9dcb7795a917c265e5890b1f25687", "fetched_at": "2026-08-28T04:05:25.884294+00:00", "kind": "readme", "missing": false, "url": "https://github.com/z-pattern-matching/z"}, {"content_hash": "316845f1b81f4e10052fcf5eda346e14db4b8ae28383f07458ba1565900b39e2", "fetched_at": "2026-08-29T11:11:20.038919+00:00", "kind": "homepage", "missing": false, "url": "https://z-pattern-matching.github.io/"}, {"content_hash": "6c7ddf3f2986e95517624c48c8b84f2a204d071964f4aa5744c00109dffb6109", "fetched_at": "2026-08-29T11:11:20.048276+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/z"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T03:34:53.727449+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "416095cd7bb6276f3b2cce3893af418b24f9dcb7795a917c265e5890b1f25687", "fetched_at": "2026-08-28T04:05:25.884294+00:00", "kind": "readme", "missing": false, "url": "https://github.com/z-pattern-matching/z"}, {"content_hash": "316845f1b81f4e10052fcf5eda346e14db4b8ae28383f07458ba1565900b39e2", "fetched_at": "2026-08-29T11:11:20.038919+00:00", "kind": "homepage", "missing": false, "url": "https://z-pattern-matching.github.io/"}, {"content_hash": "6c7ddf3f2986e95517624c48c8b84f2a204d071964f4aa5744c00109dffb6109", "fetched_at": "2026-08-29T11:11:20.048276+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/z"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 8}, "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": 4019, "days_push": 1040, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 23, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}