union-type

Value types

A JavaScript library for defining and using types that can represent multiple values with associated data.

A small JavaScript library for defining and using union types.

GitHub

478 stars
15 watching
28 forks
Language: JavaScript
last commit: over 7 years ago
Linked from 2 awesome lists


Backlinks from these awesome lists:

Related projects:

RepositoryDescriptionStars
unional/type-plusA collection of utility types and adjusted utilities for enhancing TypeScript development380
paldepind/functionizeA library that converts existing JavaScript libraries into functional ones by applying a set of transformations to their methods.49
ded/valentineA JavaScript utility library providing functional iterators and common helpers such as waterfalls, queues, and parallels.286
radix/sumtypesProvides Algebraic Data Types in Python42
tool-belt/type-predicatesA collection of utilities for creating and working with type-guards and assertions in TypeScript.54
paulbraetz/unionsA C# library that generates efficient union types with rich APIs and automatic relation type detection for various use cases.10
evilsoft/crocksA collection of well-known Algebraic Data Types and their associated helper functions for functional programming in JavaScript.1,592
paldepind/flydA modular and functional reactive programming library for JavaScript1,562
com-lihaoyi/pprintA Scala library that provides a way to visually represent values and types in programming languages228
mknejp/dotvariantA type-safe sum type library for C# that enables the creation of compact variants with compile-time checked constraints and generated interfaces.70
phelmkamp/valorProvides Go types for optionals and results with values or errors.17
kotlinisland/basedtypingA collection of helpers and utilities to aid in dealing with types at static analysis and runtime.9
mplanchard/safetywrapTypesafe wrappers for handling errors and absent data in Python44
bramstein/stateofwebtypeProvides up-to-date data on support for type and typographic features on the web65
jsr-core/matchA library for structured binding and validation in JavaScript/TypeScript41