sindresorhus/type-fest
A collection of essential TypeScript types observed · 2026-08-28
Health v2 · maintenance only
96/100
- Activity 99
- Release rhythm 91
- 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: 9.0
- age_days: 2730
- days_rel: 60
- days_push: 7
- n_releases_24m: 39
Adoption not part of the score
17381 stars · 731 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A collection of essential TypeScript utility types that many feel should be built into the language. It is an npm package of type-only definitions that can be installed as a dependency or copy-pasted freely.
Use cases
- make specific object properties optional in TypeScript
- exclude keys from a TypeScript type
- get the type of array elements in TypeScript
- define deeply readonly object types
- write stricter JSON-typed values in TypeScript
- find commonly needed utility types missing from TypeScript
When to choose
- you write TypeScript and frequently need utility types like Partial, Except, or JsonObject
- you want a well-maintained, dependency-free set of type helpers
- you prefer copy-pasting types with no attribution required
When to avoid
- your project uses TypeScript older than 5.9 or is not strict-mode
- you need runtime validation or runtime helper functions rather than types
- you work in plain JavaScript without type checking
Facets
library · maturity active
type-system developer-tools developer-tools programming-languages cross-platform typescript utility-types npm-package type-definitions nodejs
1 source
- readme: https://github.com/sindresorhus/type-fest · fetched 2026-08-28 · b77ddd5d4fd8
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| sindresorhus/type-fest | main | 96 |
For agents
markdown · JSON · MCP: product_card(name="sindresorhus/type-fest")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem