Search results
420 packages found
Provides Result and Optional monads, inspired by railway oriented programming.
- result
- rop
- railway oriented programming
- optional
- monad
- monads
- monadic
- fp
- functional programming
- typescript
- ok
- some
- none
- error
Simple library for creating and using a Result data type
Type safe Option, Result, and Either types; inspired by Rust
Rust Result and Option traits in Typescript
safedom is a safe way to you manipulate dom using a purer functional style.
A Result <T,E> type for TypeScript based on that of Rust.
![status](https://img.shields.io/travis/com/jhpratt/option-result.svg) ![license](https://img.shields.io/npm/l/@jhpratt/option-result.svg) ![version](https://img.shields.io/npm/v/jhpratt/option-result.svg) ![size](https://badgen.net/bundlephobia/minzip/@j
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.
Generate result and send to customer
normalize an object/array where some values may be wrapped in Results
Container to keep data for response
Monad with do notation in Javascript, using ES6 generators.
Utility function for getting a named property from an object. If the named property is a function invoke it with the object as context and return the result, otherwise return the property.
parse noradle sql resultsets to javascript object or JSON text
Typescript porting of Rust's Option/Result
safe-web-storage is a safe way for you to work with browser storage using a purer functional style.