pb.adt
Universal ADT utilities.
Universal ADT utilities.
A lightweight Rust/Haskell-like enum for Typescript, with some runtime overhead.
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.
将ts enum 转 js 的产物减少一半,e[e['xxx']=0]='xxx'] => e['xxx']=0,e[e.xxx=0]='xxx' => e.xxx=0
Prisma generator for enum types
Small TypeScript utility to convert between compatible enum values
A rust inspired result enum for better responses in TypeScript
## 简介
EnumsJS is a small, lightweight library that adds an Enum class with basic functionality to JavaScript.
Rustlike option- and result-types for better null- and error-handling.
Generates enums from your Prisma schema to typescript or graphql files.
An enum for different project roles
Flag System for Javascript
枚举工具 实用枚举定义
Type-safe HTTP method constants for TypeScript
Porting some excellent design implementations from Rust to JavaScript.
```typescript const enumerator: Enum;