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.