{"adoption": {"forks": 335, "observed_at": "2026-08-28T04:08:31.658550+00:00", "stars": 3981}, "canonical_url": "https://ross.abutalabs.com/products/cast", "card": {"archived": false, "artifact_type": "library", "description": "safe and easy casting from one type to another in Go ", "domain": ["developer-tools", "programming-languages"], "enriched": true, "function": ["serialization", "developer-tools"], "health_score": 81, "homepage": null, "language": "Go", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["spf13/cast"], "name": "spf13/cast", "platform": ["go", "cross-platform"], "pushed_at": "2026-04-12T08:55:58+00:00", "repo": "spf13/cast", "stars": 3981, "tags": ["type-conversion", "casting", "dynamic-data", "configuration-parsing"], "topics": [], "urls": [], "use_cases": ["convert interface{} values to concrete Go types safely", "parse dynamic YAML/TOML/JSON data into typed Go values", "convert numbers to strings and strings to ints without panicking", "handle dynamic content in Go web applications", "get zero values or errors for failed type conversions"], "what_it_is": "Cast is a Go library providing safe and consistent type conversion functions, such as converting interfaces, strings, and numbers between Go types. It was developed for Hugo and is especially useful when handling dynamic data from untyped formats like YAML, TOML, or JSON.", "when_to_avoid": ["you only need simple type assertions on known types", "you need strict parsing with detailed error messages for malformed input", "your project does not use Go"], "when_to_choose": ["you work with interface{} values from untyped data formats like YAML, TOML, or JSON", "you need non-panicking type conversions with optional error reporting", "you want consistent, intelligent conversion behavior across a codebase"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/cast", "repo": "spf13/cast", "role": "main", "score": 71}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:08:31.658550+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T18:24:16.882267+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2c582f7ed996dee8aa4e2d5f610dbe1219c04356305ae8bdaded2d7bdc812e3f", "fetched_at": "2026-08-28T04:08:31.658550+00:00", "kind": "readme", "missing": false, "url": "https://github.com/spf13/cast"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:08:31.658550+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T18:24:16.882267+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2c582f7ed996dee8aa4e2d5f610dbe1219c04356305ae8bdaded2d7bdc812e3f", "fetched_at": "2026-08-28T04:08:31.658550+00:00", "kind": "readme", "missing": false, "url": "https://github.com/spf13/cast"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T18:24:16.882267+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2c582f7ed996dee8aa4e2d5f610dbe1219c04356305ae8bdaded2d7bdc812e3f", "fetched_at": "2026-08-28T04:08:31.658550+00:00", "kind": "readme", "missing": false, "url": "https://github.com/spf13/cast"}], "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:08:31.658550+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:08:31.658550+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:08:31.658550+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T18:24:16.882267+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2c582f7ed996dee8aa4e2d5f610dbe1219c04356305ae8bdaded2d7bdc812e3f", "fetched_at": "2026-08-28T04:08:31.658550+00:00", "kind": "readme", "missing": false, "url": "https://github.com/spf13/cast"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:08:31.658550+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:08:31.658550+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T18:24:16.882267+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2c582f7ed996dee8aa4e2d5f610dbe1219c04356305ae8bdaded2d7bdc812e3f", "fetched_at": "2026-08-28T04:08:31.658550+00:00", "kind": "readme", "missing": false, "url": "https://github.com/spf13/cast"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:08:31.658550+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:08:31.658550+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:08:31.658550+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T18:24:16.882267+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2c582f7ed996dee8aa4e2d5f610dbe1219c04356305ae8bdaded2d7bdc812e3f", "fetched_at": "2026-08-28T04:08:31.658550+00:00", "kind": "readme", "missing": false, "url": "https://github.com/spf13/cast"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:08:31.658550+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:08:31.658550+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T18:24:16.882267+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2c582f7ed996dee8aa4e2d5f610dbe1219c04356305ae8bdaded2d7bdc812e3f", "fetched_at": "2026-08-28T04:08:31.658550+00:00", "kind": "readme", "missing": false, "url": "https://github.com/spf13/cast"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T18:24:16.882267+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2c582f7ed996dee8aa4e2d5f610dbe1219c04356305ae8bdaded2d7bdc812e3f", "fetched_at": "2026-08-28T04:08:31.658550+00:00", "kind": "readme", "missing": false, "url": "https://github.com/spf13/cast"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T18:24:16.882267+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2c582f7ed996dee8aa4e2d5f610dbe1219c04356305ae8bdaded2d7bdc812e3f", "fetched_at": "2026-08-28T04:08:31.658550+00:00", "kind": "readme", "missing": false, "url": "https://github.com/spf13/cast"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T18:24:16.882267+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2c582f7ed996dee8aa4e2d5f610dbe1219c04356305ae8bdaded2d7bdc812e3f", "fetched_at": "2026-08-28T04:08:31.658550+00:00", "kind": "readme", "missing": false, "url": "https://github.com/spf13/cast"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 77, "longevity": 100, "rhythm": 47}, "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": 4535, "days_push": 143, "days_rel": 359, "gap_med": 29, "n_releases_24m": 6}, "score": 71, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}