Search results

115 packages found

Generics to work with tuples in TypeScript

published version 5.0.1, 4 years ago20 dependents licensed under $MIT
4,387,511

Define complex binary structures using composable primitives

published version 0.7.3, 3 months ago27 dependents licensed under $MIT
743,686

A polyfill for the Record and Tuple Stage 2 ECMAScript proposal.

published version 0.0.4, 4 years ago11 dependents licensed under $Apache-2.0
329,124

Immutable finite list objects with constant-time equality testing (===) and no memory leaks

published version 0.4.10, 6 years ago3 dependents licensed under $MIT
241,444

A library for lexicographical encoding.

published version 0.0.6, 8 months ago0 dependents licensed under $MIT
60,462

A WeakMap which accepts multiple objects as a key

published version 1.0.0, 9 years ago2 dependents licensed under $MPL-2.0
13,387

A Map which accepts a named tuple of objects as a key

published version 1.0.0, 9 years ago4 dependents licensed under $MPL-2.0
13,429

A Map of limited size that keeps most recently used values

published version 1.0.0, 9 years ago1 dependents licensed under $MPL-2.0
13,330

A Map which accepts multiple objects as a key.

published version 1.0.2, 9 years ago2 dependents licensed under $MPL-2.0
13,507

A memory-efficient Map which accepts multiple objects as a key.

published version 1.0.0, 9 years ago2 dependents licensed under $MPL-2.0
13,286

Non-intrusively convert the result of any function or promise to the user's desired style.

published version 3.0.1, 2 years ago18 dependents licensed under $MIT
8,073

go-like results

published version 1.0.5, 6 years ago0 dependents licensed under $MIT
3,306

Make the === operator compare arrays by values instead of references.

published version 1.0.7, 9 years ago1 dependents licensed under $MIT
2,952

Declarative, functional CLI argument/options parser, value coercions, sub-commands etc.

published version 2.8.1, a day ago6 dependents licensed under $Apache-2.0
1,632

A yet another tuple implementation

published version 3.3.3, 5 years ago5 dependents licensed under $MIT
1,213

Catches errors and rejected promises, returns tuple

published version 3.0.0, 5 months ago1 dependents licensed under $MIT
858

More to come! :)

published version 0.4.2, 2 months ago0 dependents licensed under $Unlicense
780

Elegant tuple-based error handling utilities for TypeScript, inspired by Rust's Result<T, E> pattern.

published version 0.1.11, 15 days ago1 dependents licensed under $MIT
1,117

Handle any Javascript function as an error and response tuple.

published version 1.0.1, 4 years ago2 dependents licensed under $Apache-2.0
582

A library of types and utilities for your TypeScript and JavaScript projects

published version 4.0.0-rc3, 2 years ago6 dependents licensed under $MIT
333