tsdjs/tsd
Some data may be outdated — see provenance labels.
Check TypeScript type definitions observed · 2026-10-01
Health v2 · maintenance only
38/100
- Activity 27
- Release rhythm 16
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: 117
- age_days: 2975
- days_rel: 441
- days_push: 441
- n_releases_24m: 2
Adoption not part of the score
2553 stars · 68 forks observed · 2026-10-01
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
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.
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
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
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
Facets
cli-tool · maturity active
testing type-system cli developer-tools developer-tools testing programming-languages cli cross-platform typescript type-definitions type-testing dts-files static-analysis nodejs
2 sources
- readme: https://github.com/tsdjs/tsd · fetched 2026-10-01 · 71c4ad4483dc
- registry_npm: https://registry.npmjs.org/tsd · fetched 2026-08-29 · 55d018a2a67a
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| tsdjs/tsd | main | 38 |
For agents
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem