Search results

7 packages found

A tagged union type for superstruct based on JSON typedef's discriminator type

published version 0.3.1, 3 months ago0 dependents licensed under $MIT
1,763

Static Tagged Union

published version 1.0.1, 2 years ago0 dependents licensed under $MIT
641

Rust like enums for Typescript

published version 1.1.2, 2 months ago0 dependents licensed under $MIT
55

TypeScript Result type inspired by Rust's Result and Haskell's Either.

published version 0.2.0, 8 years ago0 dependents licensed under $MIT
30

A tagged unions code generation library for discriminating tastes

published version 0.2.0, 5 years ago0 dependents licensed under $MIT
32

A set utilities for working with discriminated unions in typescript

published version 1.2.0, 4 years ago0 dependents licensed under $ISC
24

Utilities for defining tagged sum types and pattern matching in TypeScript

published version 2.0.2, 5 years ago0 dependents licensed under $MIT
23