npmjs.org "discriminated-union" keyword
View the packages on the npmjs.org package registry that are tagged with the "discriminated-union" keyword.
result-guard 1.2.3
Type-safe error handling with discriminated unions and type guards for TypeScript6 versions - Latest release: 3 months ago - 20 downloads last month - 1 maintainer
Top 4.3% on npmjs.org
64 versions - Latest release: over 4 years ago - 7 dependent packages - 7 dependent repositories - 2.69 thousand downloads last month - 186 stars on GitHub - 1 maintainer
variant 2.1.0
Variant types (a.k.a. Discriminated Unions) in TypeScript64 versions - Latest release: over 4 years ago - 7 dependent packages - 7 dependent repositories - 2.69 thousand downloads last month - 186 stars on GitHub - 1 maintainer
variant-match 2.0.4
Brings variant match pattern to TypeScript.13 versions - Latest release: over 2 years ago - 329 downloads last month - 1 stars on GitHub - 1 maintainer
ts-tagged-union 1.2.1
A modern TypeScript library designed to reduce boilerplate for tagged unions, also known as discr...21 versions - Latest release: over 1 year ago - 75 downloads last month - 10 stars on GitHub - 1 maintainer
matchable 1.1.0
A utility to define and match on tagged unions (like enums with payloads) — safely.5 versions - Latest release: 4 months ago - 36 downloads last month - 0 stars on GitHub - 1 maintainer
Related Keywords
typescript
4
tagged-union
3
discriminated-unions
3
match
2
pattern-matching
2
variant
2
tagged-unions
2
functional
2
type-guard
2
matchable
1
npm-package
1
library
1
exhaustiveness-checking
1
algebraic-data-types
1
case
1
functional-programming
1
narrowing
1
type-predicate
1
exhaustive
1
safe-matching
1
javascript
1
coproduct
1
Algebraic-Data-Types
1
variants
1
union
1
redux
1
flux
1
dispatching
1
adt
1
type-theory
1
sum-type
1
algebraic-data-type
1
async
1
promise
1
result-type
1
type-safe
1
error-handling
1