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 5 years ago
Linked from 2 awesome lists


Backlinks from these awesome lists:

Related projects:

Repository Description Stars
unional/type-plus A collection of utility types and adjusted utilities for enhancing TypeScript development 379
paldepind/functionize A library that converts existing JavaScript libraries into functional ones by applying a set of transformations to their methods. 49
ded/valentine A JavaScript utility library providing functional iterators and common helpers such as waterfalls, queues, and parallels. 286
radix/sumtypes Provides Algebraic Data Types in Python 42
tool-belt/type-predicates A collection of utilities for creating and working with type-guards and assertions in TypeScript. 54
paulbraetz/unions A C# library that generates efficient union types with rich APIs and automatic relation type detection for various use cases. 10
evilsoft/crocks A collection of well-known Algebraic Data Types and their associated helper functions for functional programming in JavaScript. 1,592
paldepind/flyd A modular and functional reactive programming library for JavaScript 1,563
com-lihaoyi/pprint A Scala library that provides a way to visually represent values and types in programming languages 226
mknejp/dotvariant A type-safe sum type library for C# that enables the creation of compact variants with compile-time checked constraints and generated interfaces. 70
phelmkamp/valor Provides Go types for optionals and results with values or errors. 17
kotlinisland/basedtyping A collection of helpers and utilities to aid in dealing with types at static analysis and runtime. 9
mplanchard/safetywrap Typesafe wrappers for handling errors and absent data in Python 44
bramstein/stateofwebtype Provides up-to-date data on support for type and typographic features on the web 65
jsr-core/match A library for structured binding and validation in JavaScript/TypeScript 41