# plantain-00/type-coverage

A CLI tool to check type coverage for typescript code

Repository: https://github.com/plantain-00/type-coverage
Canonical: https://ross.abutalabs.com/products/type-coverage
Language: TypeScript
License: MIT
License Family: permissive
Last push: 2026-07-26T06:46:28+00:00

## Health v2 (maintenance only)
Score: 75/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 94, release rhythm 35, longevity 100
- inputs: {"age_days": 3154, "days_push": 38, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1350, forks 45 (observed 2026-08-28T04:04:28.051990+00:00)

## What it is
A CLI tool that measures type coverage in TypeScript codebases by calculating the percentage of identifiers whose type is not `any`. It can enforce minimum coverage thresholds, making it useful for CI checks and tracking gradual type-safety migrations.

## Use cases
- measure type coverage of my typescript project
- prevent accidental any types in CI
- track migration from javascript to typescript
- enforce minimum type coverage threshold
- gradually migrate codebase to stricter typescript
- report percentage of untyped identifiers

## When to choose
- you want a quantitative metric of type safety for a TypeScript codebase
- you need to gate CI on a minimum type coverage rate
- you are progressively migrating JS or loosely-typed TS code to strict types

## When to avoid
- you need general linting beyond type coverage (use ESLint)
- your project is not TypeScript
- you want full static type checking (use tsc itself)

## Facets
- artifact type: cli-tool
- maturity: active
- function: cli, linter, type-system, developer-tools
- domain: developer-tools, programming-languages, testing
- platform: cli, cross-platform
- tags: typescript, type-coverage, static-analysis, code-quality, ci, nodejs

## Member repositories
- plantain-00/type-coverage (main) score 75

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:28.051990+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:42:18.311615+00:00, confidence not recorded.
  - readme: https://github.com/plantain-00/type-coverage (fetched 2026-08-28T04:04:28.051990+00:00, sha 2c91224caf7f)
  - registry_npm: https://registry.npmjs.org/type-coverage (fetched 2026-08-29T12:01:30.020401+00:00, sha 539ab3db84af)
- Data as of 2026-08-30T08:39:29.467469+00:00.
