microsoft/dts-gen
dts-gen creates starter TypeScript definition files for any module or library. observed · 2026-08-28
Health v2 · maintenance only
10/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases archived
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3660
- days_rel: n/a
- days_push: 992
- n_releases_24m: 0
Adoption not part of the score
2417 stars · 97 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
dts-gen is a CLI tool that generates starter TypeScript definition (.d.ts) files for any JavaScript module or library by inspecting its runtime exports. It is now maintained as part of microsoft/DefinitelyTyped-tools.
Use cases
- generate a starter .d.ts file for an untyped npm package
- bootstrap type definitions before contributing to DefinitelyTyped
- scaffold declaration files for internal JavaScript libraries
- inspect a module's exported API shape to write types manually
- convert a plain JavaScript package into something TypeScript-friendly
When to choose
- you need a quick skeleton of type declarations for a JavaScript module
- you are preparing a @types package for DefinitelyTyped
- you want to see the runtime shape of a module's exports before typing it
When to avoid
- the package already ships its own TypeScript definitions
- you need full-featured type inference rather than a starter template
- you want a tool with active standalone development, since it has moved into DefinitelyTyped-tools
Facets
cli-tool · maturity maintenance
developer-tools type-system cli developer-tools programming-languages documentation cli cross-platform typescript type-definitions definitelytyped code-generation nodejs
1 source
- readme: https://github.com/microsoft/dts-gen · fetched 2026-08-28 · e15643e28dbb
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| microsoft/dts-gen | main | 10 |
For agents
markdown · JSON · MCP: product_card(name="microsoft/dts-gen")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem