rustie

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.

value-enum

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

derive-rust

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