4 Repositories
JavaScript enum Libraries
Small TS library to type and safely handle `serde` JSON serializations of Rust enums.
rustie-ts TypeScript library with helper types and functions to type-safely handle Rust's serde JSON serialization of Enums. It can also be used stand
Jul 17, 2022
Tiny and fast utility to extract all possible values for a given enum.
Tiny (208B) and fast utility to extract all possible values for a given enum.
Apr 18, 2022
JavaScript enums using proxies.
enum-xyz JavaScript enums using proxies. Based on this tweet Install $ npm install enum-xyz --save Usage Strings import Enum from 'enum-xyz' const {
Oct 22, 2022
A typescript transform that converts exported const enums into object literal.
ts-transformer-optimize-const-enum A typescript transformer that convert exported const enum into object literal. This is just like the one from @babe
Jul 27, 2022