A collection of my Typescript patterns and experiments with a focus on type-level programming.
-
Updated
Apr 26, 2024 - TypeScript
A collection of my Typescript patterns and experiments with a focus on type-level programming.
Type-level stack operations.
Learn advanced types of typescript with type-challenges
TypeScript code that attempts to execute some computations on a type-level
A runtime for typescript's type system that turns it into a general purpose, purely functional programming language with effects!
Highly experimental TypeScript project providing a type-level lambda.
A brainfuck interpreter running within the typescript type system
Playground for exploring type-level programming.
A collection of useful operators to make type-level programming in TypeScript easier
Type-level Peano arithmetic, lists and more using TypeScript 4.1's recursive conditional types
A handy collection of TypeScript plain and generic type definitions and interfaces.
A small library for testing your types
A type programming language which compiles to and interops with type-level TypeScript
Bring type level information to value level.
Extract or modify pieces of arbitrarily nested types with type lenses
Code samples for my talk “Type-level programming in TypeScript”
A tool for evaluating TypeScript types step by step.
A proof of concept of a tree shakable Zod alternative. This library aims to have a 1:1 Zod compatible API, but with fine grain control over the final bundle size. This was done by a combination of Proxies and type-level programming.
A type-level library enabling the creation and the manipulation of type constructors which can be detached from their type parameters. Also referred to as higher kinded types.
Interactive exercises to get familiar with TypeScript's most advanced features
Add a description, image, and links to the type-level-programming topic page so that developers can more easily learn about it.
To associate your repository with the type-level-programming topic, visit your repo's landing page and select "manage topics."