{"adoption": {"forks": 68, "observed_at": "2026-08-28T04:07:00.784911+00:00", "stars": 2557}, "canonical_url": "https://ross.abutalabs.com/products/tsd", "card": {"archived": false, "artifact_type": "cli-tool", "description": "Check TypeScript type definitions", "domain": ["developer-tools", "testing", "programming-languages"], "enriched": true, "function": ["testing", "type-system", "cli", "developer-tools"], "health_score": 55, "homepage": null, "language": "TypeScript", "license": "MIT", "license_family": "permissive", "maturity": "active", "member_repos": ["tsdjs/tsd"], "name": "tsdjs/tsd", "platform": ["cli", "cross-platform"], "pushed_at": "2025-08-05T11:56:46+00:00", "repo": "tsdjs/tsd", "stars": 2557, "tags": ["typescript", "type-definitions", "type-testing", "dts-files", "static-analysis", "nodejs"], "topics": [], "urls": [], "use_cases": ["test my package's .d.ts type definitions", "assert that a function returns an exact TypeScript type", "verify that invalid code produces a type error", "catch regressions in typings before publishing to npm", "run type-level tests in CI"], "what_it_is": "tsd is a CLI tool and library for testing TypeScript type definitions (.d.ts files). It statically analyzes .test-d.ts files containing assertion constructs like expectType and expectError to verify that type definitions behave as intended.", "when_to_avoid": ["you need runtime unit tests rather than type-level checks", "you want type testing built into the TypeScript compiler itself (consider vitest expectTypeOf or tstyche)", "your project does not ship type definitions"], "when_to_choose": ["you publish an npm package with TypeScript typings and want to test them", "you need strict type assertions like expectType or expectError", "you want type tests integrated into CI without executing code"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/tsd", "repo": "tsdjs/tsd", "role": "main", "score": 42}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:07:00.784911+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T02:23:39.177260+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "71c4ad4483dc21e6a2a3025c080c06f6caaa66371b7446bac400ad596df73e48", "fetched_at": "2026-08-28T04:07:00.784911+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tsdjs/tsd"}, {"content_hash": "55d018a2a67a33d62271b3cc6423219c3cb72c85ed2ddc2a13fa05834c75496c", "fetched_at": "2026-08-29T10:06:27.411943+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/tsd"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:07:00.784911+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T02:23:39.177260+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "71c4ad4483dc21e6a2a3025c080c06f6caaa66371b7446bac400ad596df73e48", "fetched_at": "2026-08-28T04:07:00.784911+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tsdjs/tsd"}, {"content_hash": "55d018a2a67a33d62271b3cc6423219c3cb72c85ed2ddc2a13fa05834c75496c", "fetched_at": "2026-08-29T10:06:27.411943+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/tsd"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T02:23:39.177260+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "71c4ad4483dc21e6a2a3025c080c06f6caaa66371b7446bac400ad596df73e48", "fetched_at": "2026-08-28T04:07:00.784911+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tsdjs/tsd"}, {"content_hash": "55d018a2a67a33d62271b3cc6423219c3cb72c85ed2ddc2a13fa05834c75496c", "fetched_at": "2026-08-29T10:06:27.411943+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/tsd"}], "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:00.784911+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:07:00.784911+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:07:00.784911+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T02:23:39.177260+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "71c4ad4483dc21e6a2a3025c080c06f6caaa66371b7446bac400ad596df73e48", "fetched_at": "2026-08-28T04:07:00.784911+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tsdjs/tsd"}, {"content_hash": "55d018a2a67a33d62271b3cc6423219c3cb72c85ed2ddc2a13fa05834c75496c", "fetched_at": "2026-08-29T10:06:27.411943+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/tsd"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:07:00.784911+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:07:00.784911+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T02:23:39.177260+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "71c4ad4483dc21e6a2a3025c080c06f6caaa66371b7446bac400ad596df73e48", "fetched_at": "2026-08-28T04:07:00.784911+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tsdjs/tsd"}, {"content_hash": "55d018a2a67a33d62271b3cc6423219c3cb72c85ed2ddc2a13fa05834c75496c", "fetched_at": "2026-08-29T10:06:27.411943+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/tsd"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:07:00.784911+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:07:00.784911+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:07:00.784911+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T02:23:39.177260+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "71c4ad4483dc21e6a2a3025c080c06f6caaa66371b7446bac400ad596df73e48", "fetched_at": "2026-08-28T04:07:00.784911+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tsdjs/tsd"}, {"content_hash": "55d018a2a67a33d62271b3cc6423219c3cb72c85ed2ddc2a13fa05834c75496c", "fetched_at": "2026-08-29T10:06:27.411943+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/tsd"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:07:00.784911+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:07:00.784911+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T02:23:39.177260+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "71c4ad4483dc21e6a2a3025c080c06f6caaa66371b7446bac400ad596df73e48", "fetched_at": "2026-08-28T04:07:00.784911+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tsdjs/tsd"}, {"content_hash": "55d018a2a67a33d62271b3cc6423219c3cb72c85ed2ddc2a13fa05834c75496c", "fetched_at": "2026-08-29T10:06:27.411943+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/tsd"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T02:23:39.177260+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "71c4ad4483dc21e6a2a3025c080c06f6caaa66371b7446bac400ad596df73e48", "fetched_at": "2026-08-28T04:07:00.784911+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tsdjs/tsd"}, {"content_hash": "55d018a2a67a33d62271b3cc6423219c3cb72c85ed2ddc2a13fa05834c75496c", "fetched_at": "2026-08-29T10:06:27.411943+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/tsd"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T02:23:39.177260+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "71c4ad4483dc21e6a2a3025c080c06f6caaa66371b7446bac400ad596df73e48", "fetched_at": "2026-08-28T04:07:00.784911+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tsdjs/tsd"}, {"content_hash": "55d018a2a67a33d62271b3cc6423219c3cb72c85ed2ddc2a13fa05834c75496c", "fetched_at": "2026-08-29T10:06:27.411943+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/tsd"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T02:23:39.177260+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "71c4ad4483dc21e6a2a3025c080c06f6caaa66371b7446bac400ad596df73e48", "fetched_at": "2026-08-28T04:07:00.784911+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tsdjs/tsd"}, {"content_hash": "55d018a2a67a33d62271b3cc6423219c3cb72c85ed2ddc2a13fa05834c75496c", "fetched_at": "2026-08-29T10:06:27.411943+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/tsd"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 35, "longevity": 100, "rhythm": 17}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 2927, "days_push": 393, "days_rel": 393, "gap_med": 166.5, "n_releases_24m": 3}, "score": 42, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}