Ross ROSS = Recommend OSS · open-source software intelligence for agents

mattpocock/ts-reset

A 'CSS reset' for TypeScript, improving types for common JavaScript API's observed · 2026-08-28

github.com/mattpocock/ts-reset · homepage · TypeScript · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

55/100

  • Activity 75
  • Release rhythm 8
  • Longevity 92
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 1291
  • days_rel: n/a
  • days_push: 154
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

8592 stars · 146 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

A 'CSS reset' for TypeScript that improves the built-in typings for common JavaScript APIs like JSON.parse, fetch's .(), .filter(Boolean), and array.includes. It is imported once in a declaration file to apply safer, more ergonomic types across an entire project.

Use cases

  • make JSON.parse return unknown instead of any
  • make fetch response .() return unknown
  • make .filter(Boolean) narrow array types correctly
  • fix array.includes errors on readonly arrays
  • make localStorage and sessionStorage return unknown
  • improve TypeScript's built-in lib typings project-wide

When to choose

  • you want safer default typings for JSON parsing and fetch in a TypeScript project
  • you're tired of any leaking in from JSON.parse and res.()
  • you want .filter(Boolean) to narrow types without casts
  • you want a single-import, opt-in set of improved built-in typings

When to avoid

  • you need strict control over every type declaration and don't want global ambient changes
  • your project depends on the exact current behavior of the standard lib typings
  • you're not using TypeScript

Facets

library · maturity stable

type-system developer-tools programming-languages developer-tools web-development cross-platform typescript type-safety typings -parse filter-boolean nodejs

3 sources

Member repositories

RepositoryRoleHealth v2
mattpocock/ts-resetmain55

For agents

markdown · JSON · MCP: product_card(name="mattpocock/ts-reset")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem