A utility for making type-safe, ordered, set-oriented enums in TypeScript. This package primarily contains two functions, `CreateEnum` and `EnumOneToOneMapper`.
```javascript const verifyStatusEnum = createEnum({ wait: { label: "等待", value: 0, idx: 1, }, pass: { label: "通过", value: 1, idx: 2, }, reject: { label: "拒绝", value: 2, idx: 3, }, init: { label: { text: "支付取消", status: "Su
TypeScript Array, Object, Map, Set, Union, Enum utils
JavaScript interface for Prisma Schema DSL
Typed enum factories for immutable string, number, symbol, and labeled enums.
```javascript const verifyStatusEnum = createEnum({ wait: { label: "等待", value: 0, idx: 1, }, pass: { label: "通过", value: 1, idx: 2, }, reject: { label: "拒绝", value: 2, idx: 3, }, init: { label: { text: "支付取消", status: "Su
Type-safe enum creation for TypeScript and Zod. Stop duplicating your enums!
Tiny TypeScript helper for declaring string-literal-union enums with both an object map and a values list, derived from a single source of truth.
ORM for DuckDB
枚举
Creates a type safe enum from a list of strings
Enum Utils is a utility function that allows you to create enum-like objects with read-only properties in JavaScript
> Java-like enums in JavaScript
Random collection of utilities functions/classes.
JavaScript SDK to generate Prisma Schema file
简易枚举模式
My daily reusable utilities
Lightweight utility to create rich, type-safe enums with auto-generated names, indexes, and custom properties
处理前端枚举的工具方法,支持ts类型检测
類型安全的多定義的映射物件庫
a javascript library for enum
JavaScript interface for Prisma Schema DSL
A TypeScript Enum library inspired by Java's Enum.
`EnumX` 是一个用于 TypeScript 的扩展类,帮助开发者更便捷地管理和操作枚举类型的数据。`EnumX` 提供了一系列访问和操作枚举项的方法,使得代码更具可读性和灵活性,尤其适用于需要字段映射、下拉列表等场景的数据管理。
create enum from struct.
Rust-native schema-first framework for typed HTTP APIs, generated clients, and backend services.
DDK node to facilitate DLC contracts.
Lift migration parser and CLI tooling.
Language server for the Lift migration DSL.
Migration runtime and schema builder for lift.
Tree-sitter grammar for the Lift migration DSL.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.