derive-rust
Rust-like utils for JavaScript. Start using match pattern, enums with generics and other features similarly to the Rust programming language.
rusty-enum
A lightweight Rust/Haskell-like enum for Typescript, with some runtime overhead.
option-result-rs
Option<T> and Result<T, E> enum types for JavaScript. If you need more Rust-like features, check out derive-rust npm package