Search results

38 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 53.0.0, 3 months ago27 dependents licensed under $MIT
98,508

Pure functional utilities for nullable types

published version 3.2.0, a year ago19 dependents licensed under $ISC
2,608

Full featured implementation of options into typescript.

published version 1.1.5, 2 months ago0 dependents licensed under $ISC
1,476

Well-typed functional Maybe monad

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

Nullable type and helper functions for typescript

published version 1.3.1, 6 years ago0 dependents licensed under $MIT
873

Zero cost Option type for AssemblyScript

published version 0.0.2, 3 years ago0 dependents licensed under $MIT
405

A lightweight and chainable utility for effortless data type conversation in JavaScript and Node.js

published version 1.0.23, 2 months ago0 dependents licensed under $MIT
397

Tiny (220 bytes), zero dependency wrapper for nullable values

published version 1.0.1, 6 years ago2 dependents licensed under $MIT
186

Just function to predicate non nullable with type guard.

published version 1.0.2, 4 years ago0 dependents licensed under $MIT
172

@IsNullable validator for class-validator

published version 0.8.9, 5 years ago0 dependents licensed under $MIT
142

This library provides a way to make properties nullable in Angular templates.

published version 0.2.0, 20 days ago0 dependents licensed under $MIT
91

TypeScript maybe monad for reaching child fields inside complicated objects.

published version 1.2.2, 5 years ago0 dependents licensed under $MIT
53

Check if a value is property accessible

published version 1.0.3, 3 years ago2 dependents licensed under $MIT
46

not nil map - Map a function over nullable value

published version 1.0.0, 8 years ago0 dependents licensed under $MIT
45

maybe use maaybe

published version 1.0.0, 6 months ago0 dependents licensed under $MIT
24

A stateless implementation of the maybe monad

published version 2.2.3, 6 years ago0 dependents licensed under $GPL-3.0
25

TypeScript utility types

published version 1.10.0, 3 years ago3 dependents licensed under $MIT
26

´´´typescript import { Optional } from 'optional-ts';

published version 1.0.0, a month ago0 dependents licensed under $MIT
22

Lightweight, correct type inference, a good helper for covering presets.

published version 0.1.2, 4 years ago3 dependents licensed under $MIT
15

plain implementation of Maybe (Optional, Nullable) monad

published version 2.0.0, 9 years ago1 dependents licensed under $ISC
15