Search results
7 packages found
Sort by: Default
- Default
- Most downloaded this week
- Most downloaded this month
- Most dependents
- Recently published
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
- union
- unions
- disjoint union
- disjoint unions
- tagged
- tagged union
- tagged unions
- variant
- variants
- variant record
- variant records
- discriminated union
- discriminated unions
- sum type
- View more
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
- adt
- algebraic data types
- discriminated union
- functional programming
- pattern matching
- tagged sum type
- tagged union
- TypeScript
published version 2.0.2, 5 years ago0 dependents licensed under $MIT
23