Search results
17 packages found
A lightweight Rust/Haskell-like enum for Typescript, with some runtime overhead.
Rust like enum, Result and Option for javascript
Porting some excellent design implementations from Rust to JavaScript.
Discriminated Unions including Maybe (an option type) and Result for javascript with fewer bugs
Yet another Typescript clone of the rust `Option` & `Result` enums.
Simple JavaScript abstraction around Rust Enums
Rust-like utils for JavaScript. Start using match pattern, enums with generics and other features similarly to the Rust programming language.
Optional value and Result error handling types, heavily inspired by Rust.
Rustlike option- and result-types for better null- and error-handling.
## 简介
change drive USB
A rust inspired result enum for better responses in TypeScript
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.
Simple and lightweight Option and Result types inspired by Rust
An algebraic enum type for TypeScript heavily inspired by Rust.
`safety-match` provides pattern matching for JavaScript, TypeScript, and Flow.
enum-ts code generator cli for the enum-ts project