Search results
120 packages found
Abstract Data Types
Algebraic data types for JavaScript using Sweet.js macros
Powerful pipes for TypeScript, that chain Promise and ADT for you
- ramda
- pipe
- pipeline
- context
- mock
- exit
- Kleisli
- compose
- composition
- maybe
- promise
- either
- result
- validation
- View more
JavaScript algebraic data types, pattern matching and multi methods
- match
- matcher
- extractor
- pattern
- case class
- case
- predicate
- method
- multimethod
- defmulti
- defmethod
- dispatch
- overload
- adt
- View more
TypeScript code generation from a haskell-like syntax for ADT
A tiny implementation of maybe using JavaScript primitives
Service to enable electronic prescription between AMRS POC and ADT Pharmacy system
A tagged unions code generation library for discriminating tastes
- union
- unions
- disjoint union
- disjoint unions
- tagged
- tagged union
- tagged unions
- variant
- variants
- variant record
- variant records
- discriminated union
- discriminated unions
- sum type
- View more
Javascript Abstract Data Types
Exposes minimal set of helpers to work with `Maybe`, `Result` union types + a `pipe` function. Based on [ts-union](https://github.com/twop/ts-union) library.
This module aims to provide a full suite of abstract data types. At present it provides the abstract data type, Queue, Linked List, Stack, Binary Tree an Binary Search Tree.
- abstract
- data
- type
- queue
- adt
- abstract data type
- abstract-data-type
- link list
- linked
- list
- stack
- binary tree
- binary-tree
- binary
- View more
concrete data type implementations
A bidirectional map written in TypeScript/JavaScript.
A full-featured doubly-linked list implementation.
A map where multiple keys point to a single value, and the removal of a single key removes all matching key-value pairs.
proem package for handling algebraic data types
Binary search tree implementation
Small utility to generate F#/Kotlin-style discriminated unions (variant types) for TypeScript projects
The fantasy-land spec allows for ADTs not to define certain functions when they are derivable from those they must define. This module is for ensuring you can always use a method if it is defined or derivable