JoshuaKGoldberg/TypeStat
Converts JavaScript to TypeScript and TypeScript to better TypeScript. 🧫 observed · 2026-08-28
Health v2 · maintenance only
79/100
- Activity 99
- Release rhythm 40
- Longevity 100
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: 1.5
- age_days: 2846
- days_rel: 563
- days_push: 7
- n_releases_24m: 17
Adoption not part of the score
2254 stars · 46 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
TypeStat is a CLI utility that converts JavaScript files to TypeScript and improves type annotations in existing TypeScript code. It applies automated type mutations that only add or remove types without changing runtime behavior.
Use cases
- convert a JavaScript codebase to TypeScript
- add types to files freshly converted from JavaScript
- fix noImplicitAny and noImplicitThis violations
- annotate missing nulls and undefineds for strictNullChecks
- automatically improve type annotations in existing TypeScript projects
When to choose
- you are migrating a JavaScript project to TypeScript incrementally
- you want to enable stricter compiler flags like strictNullChecks without manually annotating everything
- you need automated, behavior-preserving type fixes across many files
When to avoid
- you want a one-time full rewrite with runtime refactoring rather than type-only mutations
- your project is already fully and strictly typed
- you need a linter or formatter rather than a type mutation tool
Facets
cli-tool · maturity active
cli parser developer-tools type-system developer-tools programming-languages cli cross-platform typescript javascript-to-typescript code-mutation static-analysis codemod type-annotation strict-null-checks no-implicit-any automation nodejs
2 sources
- readme: https://github.com/JoshuaKGoldberg/TypeStat · fetched 2026-08-28 · e9c9f55ed52d
- registry_npm: https://registry.npmjs.org/typestat · fetched 2026-08-29 · 6292d780401c
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| JoshuaKGoldberg/TypeStat | main | 79 |
For agents
markdown · JSON · MCP: product_card(name="JoshuaKGoldberg/TypeStat")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem