piotrwitek/utility-types
Collection of utility types, complementing TypeScript built-in mapped types and aliases (think "lodash" for static types). observed · 2026-08-28
Health v2 · maintenance only
59/100
- Activity 81
- Release rhythm 8
- 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: n/a
- age_days: 3550
- days_rel: n/a
- days_push: 116
- n_releases_24m: 0
Adoption not part of the score
5763 stars · 235 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A TypeScript library providing a collection of utility types (like lodash for static types) that complement TypeScript's built-in mapped types and aliases, including Flow-compatible utility types to ease migration from Flow to TypeScript.
Use cases
- get common utility types for TypeScript projects without copying them between projects
- migrate a Flow codebase to TypeScript using Flow-compatible utility types
- pick, omit, or transform object types at the type level
- write type-level tests for TypeScript type correctness
- avoid third-party dependencies and runtime cost for type utilities
When to choose
- You want a well-tested, dependency-free set of idiomatic TypeScript utility types
- You're migrating from Flow to TypeScript and need Flow-compatible type utilities
- You want type-level-only helpers with zero runtime cost
When to avoid
- Your project uses JavaScript without static typing
- TypeScript's built-in utility types already cover your needs
- You need runtime type validation rather than compile-time types
Facets
library · maturity stable
type-system developer-tools programming-languages developer-tools cross-platform typescript static-typing mapped-types type-level-programming flow-compatibility zero-runtime nodejs
2 sources
- readme: https://github.com/piotrwitek/utility-types · fetched 2026-08-28 · 28d4025bc005
- registry_npm: https://registry.npmjs.org/utility-types · fetched 2026-08-29 · ee48148a62b3
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| piotrwitek/utility-types | main | 59 |
For agents
markdown · JSON · MCP: product_card(name="piotrwitek/utility-types")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem