Search results

17 packages found

A lightweight Rust/Haskell-like enum for Typescript, with some runtime overhead.

published 0.2.4 2 months ago
M
Q
P

Rust like enum, Result and Option for javascript

published 1.0.0 8 years ago
M
Q
P

Porting some excellent design implementations from Rust to JavaScript.

published 1.1.0 12 days ago
M
Q
P

Discriminated Unions including Maybe (an option type) and Result for javascript with fewer bugs

published 0.14.1 8 years ago
M
Q
P

Yet another Typescript clone of the rust `Option` & `Result` enums.

published 1.3.1 19 days ago
M
Q
P

Simple JavaScript abstraction around Rust Enums

published 2.1.1 a year ago
M
Q
P

Rust-like utils for JavaScript. Start using match pattern, enums with generics and other features similarly to the Rust programming language.

published 0.2.9 2 days ago
M
Q
P

Optional value and Result error handling types, heavily inspired by Rust.

published 1.0.3 2 years ago
M
Q
P

Rustlike option- and result-types for better null- and error-handling.

published 2.4.0 2 years ago
M
Q
P

## 简介

published 1.0.7 a year ago
M
Q
P

change drive USB

published 2.0.3 2 years ago
M
Q
P

A rust inspired result enum for better responses in TypeScript

published 1.0.2 a year ago
M
Q
P

Helper library to type and safely handle Rust's `serde` JSON serializations of Enums. It can also be used standalone to implement Enums in TypeScript with plain objects.

published 0.2.0 2 years ago
M
Q
P

Simple and lightweight Option and Result types inspired by Rust

published 0.1.1 6 years ago
M
Q
P

An algebraic enum type for TypeScript heavily inspired by Rust.

published 0.5.1 a year ago
M
Q
P

`safety-match` provides pattern matching for JavaScript, TypeScript, and Flow.

published 0.4.4 4 years ago
M
Q
P

enum-ts code generator cli for the enum-ts project

published 0.2.6 3 years ago
M
Q
P