Optional Packages

optional-neo

This tiny library allows you to work with object in functional programming style and forget about null checking. More or less it is very similar to Java's implementation of Optional functionality with several useful unique utilities.

1.0.2 • Published 2 years ago

optex

Utilites for optional execution of functions (only if arguments are non-nullish)

0.0.2 • Published 2 years ago

rustly

lightweight and versatile utility that brings the power and convenience of Rust's Option and Result types to JavaScript and TypeScript. Inspired by Rust's functional error-handling and optional value handling patterns, his package offers a clean and expre

0.0.4 • Published 1 year ago