Search results

241 packages found

The option type, also known as the maybe type, for JavaScript

published version 0.2.4, 8 years ago9 dependents licensed under $BSD-2-Clause
2,250,796

A library for safe functional programming in JavaScript, with first-class support for TypeScript

published version 9.0.0, a month ago56 dependents licensed under $MIT
1,136,880

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 53.0.0, 2 months ago26 dependents licensed under $MIT
386,685

Node.js interface to the system installed zstd.

published version 1.4.2, 3 years ago7 dependents licensed under $MIT
167,093

🐊Putout plugin applies Maybe monad

published version 4.0.0, a month ago1 dependents licensed under $MIT
22,242

Legacy support for our utility scripts implementing async, functional, and immutable JavaScript.

published version 1.2.0, 8 months ago0 dependents licensed under $UNLICENSED
34,003

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

published version 0.0.804, 9 months ago8 dependents licensed under $(Apache-2.0 AND MPL-2.0)
5,242

Maybe you should use this instead of nullable types..

published version 1.3.3, 5 years ago7 dependents licensed under $BSD-2-Clause
6,357

A simple, lightweight, and easy-to-use library for handling optional values in JavaScript.

published version 7.1.0, a month ago17 dependents licensed under $MIT
6,092

wraps a function in null/undefined guards. checks that all arguments have some value. shouldn't be used ifnull or undefined is acceptable for any arguments.

published version 0.0.4, 9 years ago1 dependents licensed under $MIT
3,458

Write cleaner TypeScript

published version 9.4.0, 22 days ago9 dependents licensed under $MIT
2,337

A lightweight functional JavaScript utility library inspired by Ramda, Lodash, and FP principles.

published version 5.4.8, 7 hours ago0 dependents licensed under $MIT
2,554

Akh maybe monad and monad transformer

published version 0.0.2, 8 years ago1 dependents licensed under $MIT
1,882

Utilities for TypeScript library

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

Option and Result ~Monad for typescript, focus is on simplicity and typesafety

published version 1.0.0, 4 years ago1 dependents licensed under $MIT
1,673

A TypeScript implementation of synchronous and asynchronous Maybe and Result monads

published version 3.0.0, 16 days ago0 dependents licensed under $MIT
1,643

Correct, easy to use Option type for TypeScript

published version 0.7.0, 7 years ago4 dependents licensed under $MIT
1,321

Maybe monad for JavaScript

published version 0.0.2, 12 years ago2 dependents licensed under $MIT
1,134

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, 3 months ago0 dependents licensed under $MIT
1,004

Well-typed functional Maybe monad

published version 1.6.0, 6 years ago0 dependents licensed under $MIT
752