Search results
232 packages found
A tiny and mighty utility for optional chaining in pure JavaScript
Tries to import a module. Ignores any error that occurs.
Allows you declare optionalPeerDependencies that can be satisfied by the top level module but ignored if they are not.
Typed CLI argv parser and main function wrapper
Optional value handling library.
TypeScript recursive conversion between optional (partial) and undefined properties.
Cleanly try requiring optional dependencies
JS schema-based optional chaining
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
A library for paranoid JavaScript developers
Bring Optional class to TypeScript which has same interface to that of Java
A TypeScript isomorphic adaptation of Java's Optional.
- optional
- java
- util
- java-optional
- java-util-optional
- optional-value
- nullish
- nullish-value
- undefined
- void 0
- null
js optional function
为js提供的类似Java实现的Optional库
A runtime assertion for preserving not-null and not-undefined invariants
Wrap and validate optional values
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
Zero cost Option type for AssemblyScript