sindresorhus/type-fest
tldr.page
TL;DR

Type-Fest

A collection of essential TypeScript types that should have been built-in. It provides a number of utility types that can be used to create new types from existing ones, such as type guards, type predicates, and type transformations.

Features
  • Utility types for creating new types from existing ones
  • Type guards and type predicates for checking type safety
  • Type transformations for modifying existing types
Quick Start
npm install type-fest
import type {Except} from 'type-fest';
type Foo = {
  unicorn: string;
  rainbow: boolean;
};
type FooWithoutRainbow = Except<Foo, 'rainbow'>;
//=> {unicorn: string}
Tech Stack
TypeScript
llms.txt — machine-readable version for AI agents