happy-rusty

Porting some excellent design implementations from Rust to JavaScript.

@danscode/enum

A model or 'feature prototype' for vanilla javascript enums alive at runtime

derive-rust

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

value-enum

an npm package with utilities for handling object-based, optionally value-containing, enums.