An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

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 TypeScript
6 versions - Latest release: 3 months ago - 20 downloads last month - 1 maintainer
Top 4.3% on npmjs.org
variant 2.1.0
Variant types (a.k.a. Discriminated Unions) in TypeScript
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-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