Search results

7 packages found

Helper function for exhaustive checks of discriminated unions in TypeScript

published version 1.4.0, 2 months ago123 dependents licensed under $MIT
6,810,560

minimal utilities to work with union types and tagged unions (a.k.a. discriminated unions) in TypeScript

published version 0.0.1, 4 years ago0 dependents licensed under $ISC
2,425

TypeBox validators with lazy compilation, custom error messages, safe error handling, discriminated and heterogeneous unions

published version 0.3.5, 2 years ago2 dependents licensed under $MIT
1,795

A tagged unions code generation library for discriminating tastes

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

Typed internationalization (intl/i18n) library for TypeScript/JavaScript apps.

published version 2.0.1, 6 years ago0 dependents licensed under $MIT
30

A TypeScript library for algebraic types (variants) with pattern matching

published version 1.0.1, a year ago1 dependents licensed under $MIT
27

A TypeScript datatype representing network state which taking advantage of discriminated unions(or tagged unions, algebraic data types)

published version 1.0.0, 7 years ago0 dependents licensed under $MIT
18