Maybe Packages

maybe-for-sure

A lightweight stream-like maybe/or else monad for typescript. `maybe(val).valueOr(other)` grant you no unexpected undefined and hence allows you to write you TS-code in a more fluid way, skipping some of those if-else nestings.

1.4.3 • Published 3 years ago

tsjmaybe

Maybe is a type with tow variantes Some and None, can have nothing (None) or some value (Some). The Maybe variable makes it possible to have a something depending on the particular value.

1.1.0 • Published 4 years ago

monad-wrap

Wrapper monad objects for Typescript and Javascript

1.1.2 • Published 6 years ago