{"adoption": {"forks": 60, "observed_at": "2026-08-28T04:05:18.005325+00:00", "stars": 1656}, "canonical_url": "https://ross.abutalabs.com/products/sanity-io-litter", "card": {"archived": false, "artifact_type": "library", "description": "Litter is a pretty printer library for Go data structures to aid in debugging and testing.", "domain": ["developer-tools", "testing"], "enriched": true, "function": ["testing", "logging", "serialization", "developer-tools"], "health_score": 68, "homepage": null, "language": "Go", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["sanity-io/litter"], "name": "sanity-io/litter", "platform": ["go", "cli"], "pushed_at": "2026-05-04T10:47:31+00:00", "repo": "sanity-io/litter", "stars": 1656, "tags": ["pretty-printer", "snapshot-testing", "debugging", "go-literals"], "topics": ["golang", "go", "testing", "logging", "library", "mit-license"], "urls": [], "use_cases": ["dump Go data structures for debugging", "snapshot testing in Go unit tests", "print structs as valid Go literals", "compare test output against saved expected data", "inspect circular references and aliased pointers", "alternative to JSON/YAML for readable test fixtures"], "what_it_is": "Litter is a Go library that pretty-prints data structures as syntactically valid Go literals for debugging and testing. It produces consistent, sorted output suitable for snapshot comparisons in unit tests and handles circular references with aliases.", "when_to_avoid": ["you need machine-parseable output like JSON or YAML", "you are not working in Go", "you need colored or interactive debugging tools"], "when_to_choose": ["you need readable, terse dumps of Go values during debugging", "you want deterministic snapshot output for unit tests", "you need output that is valid Go code", "you have circular or aliased references to visualize"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/sanity-io-litter", "repo": "sanity-io/litter", "role": "main", "score": 68}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:05:18.005325+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T03:44:50.518625+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0f4a1100aebe29bd37e3016d9b4741276af79abf4485070b176776f2872791b2", "fetched_at": "2026-08-28T04:05:18.005325+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sanity-io/litter"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:05:18.005325+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T03:44:50.518625+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0f4a1100aebe29bd37e3016d9b4741276af79abf4485070b176776f2872791b2", "fetched_at": "2026-08-28T04:05:18.005325+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sanity-io/litter"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T03:44:50.518625+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0f4a1100aebe29bd37e3016d9b4741276af79abf4485070b176776f2872791b2", "fetched_at": "2026-08-28T04:05:18.005325+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sanity-io/litter"}], "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:18.005325+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:05:18.005325+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:05:18.005325+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T03:44:50.518625+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0f4a1100aebe29bd37e3016d9b4741276af79abf4485070b176776f2872791b2", "fetched_at": "2026-08-28T04:05:18.005325+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sanity-io/litter"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:05:18.005325+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:05:18.005325+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T03:44:50.518625+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0f4a1100aebe29bd37e3016d9b4741276af79abf4485070b176776f2872791b2", "fetched_at": "2026-08-28T04:05:18.005325+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sanity-io/litter"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:05:18.005325+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:05:18.005325+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:05:18.005325+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T03:44:50.518625+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0f4a1100aebe29bd37e3016d9b4741276af79abf4485070b176776f2872791b2", "fetched_at": "2026-08-28T04:05:18.005325+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sanity-io/litter"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:05:18.005325+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:05:18.005325+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T03:44:50.518625+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0f4a1100aebe29bd37e3016d9b4741276af79abf4485070b176776f2872791b2", "fetched_at": "2026-08-28T04:05:18.005325+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sanity-io/litter"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T03:44:50.518625+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0f4a1100aebe29bd37e3016d9b4741276af79abf4485070b176776f2872791b2", "fetched_at": "2026-08-28T04:05:18.005325+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sanity-io/litter"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T03:44:50.518625+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0f4a1100aebe29bd37e3016d9b4741276af79abf4485070b176776f2872791b2", "fetched_at": "2026-08-28T04:05:18.005325+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sanity-io/litter"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T03:44:50.518625+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0f4a1100aebe29bd37e3016d9b4741276af79abf4485070b176776f2872791b2", "fetched_at": "2026-08-28T04:05:18.005325+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sanity-io/litter"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 80, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": ["no_releases"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 3453, "days_push": 121, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 68, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}