Search results
179 packages found
Useful type to model success and failure
A JavaScript Implementation of Useful First-class Citizens
[![Travis CI](https://travis-ci.org/ryoppy/scalike-typescript.svg?branch=master)](https://travis-ci.org/ryoppy/scalike-typescript)
A collection of the most popular monads adapted for use in real projects
An asynchronous either monad
An asynchronous either monad compatible with Folktale result
A simple utility for eitherifing functions.
Well-typed data-structure for representing varying outcomes
A Result expression in javascript
Fantasy Land compatible types for easy integration with functional javascript libraries like ramda. This library benifits by having no dependencies
- algebraic
- async
- asynchronous
- browser
- control-flow
- fantasy-land
- fp
- functional
- functor
- future
- Action
- action
- library
- monad
- View more
Either data structure.
A typed, standalone Either object for JavaScript and TypeScript
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
Simple TypeScript/ES2017 class to represent either values
This package contains some typescript types i use in many project. Some examples are: ```ts const o1: Option<string> = { kind: 'some', value: 'hello i am an option value' }
This package contains some helper functions i use in many project. Some examples are: ```ts const isNum1 = isNumber(3); const isNum2 = isStringNumber('3');
Convert a Promise to a flyd Stream of Either value
Type safe Option, Result, and Either types; inspired by Rust
Computational effects - sum types
A tiny functional programming library for TypeScript that provides Option (Some/None) and Either(Left/Right) with functor map, applicative map and monad flatmap