{"adoption": {"forks": 91, "observed_at": "2026-08-28T04:07:11.238209+00:00", "stars": 2697}, "canonical_url": "https://ross.abutalabs.com/products/runtypes", "card": {"archived": false, "artifact_type": "library", "description": "Runtime validation for static types", "domain": ["developer-tools", "web-development", "apis"], "enriched": true, "function": ["serialization", "developer-tools"], "health_score": 99, "homepage": null, "language": "TypeScript", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["runtypes/runtypes"], "name": "runtypes/runtypes", "platform": ["bun", "cross-platform"], "pushed_at": "2026-08-14T04:13:17+00:00", "repo": "runtypes/runtypes", "stars": 2697, "tags": ["typescript", "runtime-validation", "type-safety", "schema-validation", "data-validation", "nodejs", "deno"], "topics": ["typescript", "runtime", "types", "validation"], "urls": [], "use_cases": ["validate JSON payloads from an API at runtime", "parse untrusted external data into typed TypeScript objects", "validate config files loaded at startup", "check data conforms to a discriminated union of object shapes", "derive static TypeScript types from runtime validators", "validate user input before processing"], "what_it_is": "Runtypes is a TypeScript library for runtime validation of data against static types using composable validators for primitives, objects, arrays, tuples, unions, and more. It lets you safely check untyped external data (e.g., JSON) conforms to a type and derive static TypeScript types from the validators.", "when_to_avoid": ["you need schema-based code generation or JSON Schema output", "you need high-performance validation of very large data volumes", "your project is not TypeScript/JavaScript"], "when_to_choose": ["you use TypeScript and want runtime checks that mirror your static types", "you want composable validators with detailed validation errors", "you prefer a lightweight validation library with a functional API"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/runtypes", "repo": "runtypes/runtypes", "role": "main", "score": 98}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:07:11.238209+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T02:16:13.640658+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4023ec8d50e992088e20b30fb1b1184cda0af6330cce6e4bc67bf69c8b408799", "fetched_at": "2026-08-28T04:07:11.238209+00:00", "kind": "readme", "missing": false, "url": "https://github.com/runtypes/runtypes"}, {"content_hash": "8777fc94d3da44717c7086003e50ade5b1923264dc02d43f811877c701e65b1d", "fetched_at": "2026-08-29T09:59:38.154512+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/runtypes"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:07:11.238209+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T02:16:13.640658+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4023ec8d50e992088e20b30fb1b1184cda0af6330cce6e4bc67bf69c8b408799", "fetched_at": "2026-08-28T04:07:11.238209+00:00", "kind": "readme", "missing": false, "url": "https://github.com/runtypes/runtypes"}, {"content_hash": "8777fc94d3da44717c7086003e50ade5b1923264dc02d43f811877c701e65b1d", "fetched_at": "2026-08-29T09:59:38.154512+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/runtypes"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T02:16:13.640658+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4023ec8d50e992088e20b30fb1b1184cda0af6330cce6e4bc67bf69c8b408799", "fetched_at": "2026-08-28T04:07:11.238209+00:00", "kind": "readme", "missing": false, "url": "https://github.com/runtypes/runtypes"}, {"content_hash": "8777fc94d3da44717c7086003e50ade5b1923264dc02d43f811877c701e65b1d", "fetched_at": "2026-08-29T09:59:38.154512+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/runtypes"}], "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:07:11.238209+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:07:11.238209+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:07:11.238209+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T02:16:13.640658+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4023ec8d50e992088e20b30fb1b1184cda0af6330cce6e4bc67bf69c8b408799", "fetched_at": "2026-08-28T04:07:11.238209+00:00", "kind": "readme", "missing": false, "url": "https://github.com/runtypes/runtypes"}, {"content_hash": "8777fc94d3da44717c7086003e50ade5b1923264dc02d43f811877c701e65b1d", "fetched_at": "2026-08-29T09:59:38.154512+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/runtypes"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:07:11.238209+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:07:11.238209+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T02:16:13.640658+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4023ec8d50e992088e20b30fb1b1184cda0af6330cce6e4bc67bf69c8b408799", "fetched_at": "2026-08-28T04:07:11.238209+00:00", "kind": "readme", "missing": false, "url": "https://github.com/runtypes/runtypes"}, {"content_hash": "8777fc94d3da44717c7086003e50ade5b1923264dc02d43f811877c701e65b1d", "fetched_at": "2026-08-29T09:59:38.154512+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/runtypes"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:07:11.238209+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:07:11.238209+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:07:11.238209+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T02:16:13.640658+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4023ec8d50e992088e20b30fb1b1184cda0af6330cce6e4bc67bf69c8b408799", "fetched_at": "2026-08-28T04:07:11.238209+00:00", "kind": "readme", "missing": false, "url": "https://github.com/runtypes/runtypes"}, {"content_hash": "8777fc94d3da44717c7086003e50ade5b1923264dc02d43f811877c701e65b1d", "fetched_at": "2026-08-29T09:59:38.154512+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/runtypes"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:07:11.238209+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:07:11.238209+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T02:16:13.640658+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4023ec8d50e992088e20b30fb1b1184cda0af6330cce6e4bc67bf69c8b408799", "fetched_at": "2026-08-28T04:07:11.238209+00:00", "kind": "readme", "missing": false, "url": "https://github.com/runtypes/runtypes"}, {"content_hash": "8777fc94d3da44717c7086003e50ade5b1923264dc02d43f811877c701e65b1d", "fetched_at": "2026-08-29T09:59:38.154512+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/runtypes"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T02:16:13.640658+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4023ec8d50e992088e20b30fb1b1184cda0af6330cce6e4bc67bf69c8b408799", "fetched_at": "2026-08-28T04:07:11.238209+00:00", "kind": "readme", "missing": false, "url": "https://github.com/runtypes/runtypes"}, {"content_hash": "8777fc94d3da44717c7086003e50ade5b1923264dc02d43f811877c701e65b1d", "fetched_at": "2026-08-29T09:59:38.154512+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/runtypes"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T02:16:13.640658+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4023ec8d50e992088e20b30fb1b1184cda0af6330cce6e4bc67bf69c8b408799", "fetched_at": "2026-08-28T04:07:11.238209+00:00", "kind": "readme", "missing": false, "url": "https://github.com/runtypes/runtypes"}, {"content_hash": "8777fc94d3da44717c7086003e50ade5b1923264dc02d43f811877c701e65b1d", "fetched_at": "2026-08-29T09:59:38.154512+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/runtypes"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T02:16:13.640658+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4023ec8d50e992088e20b30fb1b1184cda0af6330cce6e4bc67bf69c8b408799", "fetched_at": "2026-08-28T04:07:11.238209+00:00", "kind": "readme", "missing": false, "url": "https://github.com/runtypes/runtypes"}, {"content_hash": "8777fc94d3da44717c7086003e50ade5b1923264dc02d43f811877c701e65b1d", "fetched_at": "2026-08-29T09:59:38.154512+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/runtypes"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 97, "longevity": 100, "rhythm": 98}, "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": 3758, "days_push": 19, "days_rel": 19, "gap_med": 5, "n_releases_24m": 6}, "score": 98, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}