Search results

170 packages found

A toolkit of Nullable/Option/Result type implementation in ECMAScript. Their APIs are inspired by Rust's `Option<T>` and `Result<T, E>`.

published version 52.1.0, 12 days ago25 dependents licensed under $MIT
418,724

Only support either interface

published version 1.3.0, 3 years ago12 dependents licensed under $MIT
21,054

Option, Result, and Either types for JavaScript - Inspired by Rust

published version 0.7.0, 9 months ago1 dependents licensed under $MIT
4,807

Simple TypeScript/ES2017 class to represent either values

published version 0.0.2, 7 years ago1 dependents licensed under $ISC
5,382

Akh either monad and monad transformer

published version 0.0.1, 9 years ago3 dependents licensed under $MIT
2,513

Sub-package of Funfix exposing primitive interfaces and data types belonging into a standard library

published version 7.0.1, 7 years ago11 dependents licensed under $Apache-2.0
3,030

Type safe Option, Result, and Either types; inspired by Rust

published version 0.5.0, 4 years ago8 dependents licensed under $MIT
2,984

Utilities for TypeScript library

published version 1.5.27, 2 months ago20 dependents licensed under $MIT
2,065

Sub-package of Funfix defining type classes inspired by Haskell's standard library and by Typelevel Cats

published version 7.0.1, 7 years ago4 dependents licensed under $Apache-2.0
1,525

Write cleaner TypeScript

published version 9.0.2, 2 days ago9 dependents licensed under $MIT
1,622

Functional Programming library for JavaScript, TypeScript and Flow

published version 7.0.1, 7 years ago19 dependents licensed under $Apache-2.0
1,337

Anzen helps write safe code without exceptions, taking roots from Rust's Result and Haskell's Either.

published version 0.4.0, a year ago4 dependents licensed under $MIT
895

Sub-package of Funfix defining monadic data types for dealing with laziness and side effects

published version 7.0.1, 7 years ago4 dependents licensed under $Apache-2.0
1,081

Supervisor, Coroutine, Channel, select, AtomicPromise, Cancellation, Cache, List, Queue, Stack, and some utils.

published version 0.0.804, 8 months ago8 dependents licensed under $(Apache-2.0 AND MPL-2.0)
958

TypeScript library offering a comprehensive collection of monads to simplify functional programming.

published version 0.4.0-alpha.33, 23 days ago0 dependents licensed under $MIT
867

Jest matcher for Either objects.

published version 5.0.9, a month ago0 dependents licensed under $MIT
980

A better way to handle errors in JavaScript and TypeScript. Handle async and sync errors without `try` and `catch` blocks.

published version 0.7.4, a month ago0 dependents licensed under $MIT
918

Daisugiland is an aggregation of tools for building composable applications.

published version 0.1.2, a year ago0 dependents licensed under $MIT
894

Useful scala classes in typescript

published version 1.4.5, 4 months ago5 dependents licensed under $ISC
1,073

Well-typed data-structure for representing varying outcomes

published version 8.3.0, 5 years ago15 dependents licensed under $Parity-6.0.0
793