4 Repositories
JavaScript enums 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
A TypeScript namespace declaration for KeyboardEvent.key strings, just in case your code is allergic to enums.
ts-key-namespace A TypeScript namespace declaration for KeyboardEvent.key strings, just in case you prefer namespaces to enums. Largely based on ts-ke
Apr 5, 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