33 packages found
Types and implementations whose APIs are inspired by Rust's `Option<T>` and `Result<T, E>`.
Nullable functions
Elegant and battle-tested validation library for type-safe input data (for TypeScript and Flow)
plain implementation of Maybe (Optional, Nullable) monad
TypeScript maybe monad for reaching child fields inside complicated objects.
A stateless implementation of the maybe monad
Optional implementation in Typescript
Zero cost Option type for AssemblyScript
not nil map - Map a function over nullable value
Optionals for JS
An implementation for the nullable design pattern in javascript
A TypeScript Nullable<T> Type and Monad Compliant Utility Functions
Tri-state logic for javascript
Nullable. Optional. The Maybe monad. Whatever you want to call it, it's for Javascript now.
TypeScript utility types
Create null safe property accessible Object library for JavaScript
Pure functional utilities for nullable types
A plugin for the Elasticsearch JavaScript client that enforces non-nullable fields when indexing
Check if a value is property accessible