piotrwitek/utility-types

Collection of utility types, complementing TypeScript built-in mapped types and aliases (think "lodash" for static types).

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 9 minutes ago
Added to GitGenius on September 11th, 2026
Created on December 13th, 2016
Open Issues & Pull Requests: 67 (+0)
GitHub issues: Enabled
Number of forks: 234
Total Stargazers: 5,763 (+0)
Total Subscribers: 34 (+0)

Repository Insights (GitGenius)

Most active contributors

Sign in to see contributor activity.

Related repositories by overlapping contributors

No overlapping-contributor repos identified yet.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 7
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 1,340 days
Stale 30+ days: 5
Stale 90+ days: 4

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • docs (2)
  • funded on IssueHunt (2)
  • accepting PRs (1)
  • in progress (1)
  • needs investigation (1)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

Utility-Types is a collection of utility types for TypeScript that complements the language's built-in mapped types and type aliases, functioning as a static-typing equivalent to general-purpose utility libraries.

TypeScript's standard library provides a foundation of mapped types, but developers frequently need additional type utilities for common patterns like union operations, object transformations, and type guards. Utility-Types solves this by offering a curated set of reusable type definitions covering aliases and type guards, union operators, and object operators. The library is designed as pure type-level code with no runtime cost and no external dependencies, making it safe to include in any project without adding bundle size or installation overhead.

Projects that benefit most from this library are those with strict static typing requirements where developers want to avoid rewriting the same type patterns across codebases. It suits teams already comfortable with advanced TypeScript features and those migrating from Flow, since the utility types are designed to be compatible with Flow's type utilities. The library provides both common types that complement TypeScript's built-ins and additional types that ease transitions from Flow-based projects.

The project prioritizes quality through thorough type-correctness testing using dts-jest and maintains a minimal, secure codebase. Work in the issue tracker centers on documentation improvements, funded development through IssueHunt, and openness to community pull requests.