@gpa/http-status-codes
All the valid HTTP status codes according to RFC9110 in a Typescript enum. Includes types and functions to check if a status code belongs to a specific class of status codes.
All the valid HTTP status codes according to RFC9110 in a Typescript enum. Includes types and functions to check if a status code belongs to a specific class of status codes.
SmartEnum is a lightweight TypeScript utility that brings rich behavior to enums, using object-oriented principles. Unlike traditional enums, SmartEnum allows you to encapsulate logic, metadata, and utility methods within enum-like classes.
enum type
Create vanilla JavaScript enums
"A lightweight utility class for managing enumerable values in JavaScript."
Simple, typesafe enums in TypeScript, fully compatible with standard JavaScript
A module for building Enums.
A command line tool for querying Metasys enums
枚举帮助类
Simple, typesafe enums in TypeScript, fully compatible with standard JavaScript
`EnumX` 是一个用于 TypeScript 的扩展类,帮助开发者更便捷地管理和操作枚举类型的数据。`EnumX` 提供了一系列访问和操作枚举项的方法,使得代码更具可读性和灵活性,尤其适用于需要字段映射、下拉列表等场景的数据管理。
Rust-inspired pattern matching and type-safe error handling for TypeScript. Includes Option<T> for null-safety and Result<T, E> for error handling, with comprehensive pattern matching support
A Javascript implementation of an enum class
@jsonlee_12138/enum is a utility library for creating type-safe enums in TypeScript. It offers more powerful features than the built-in enum, including labels, extra metadata, and easy access to options and dict collections.
An enum package to work with Enums in JS and communicate between our composer package mindtwo/native-enum
An enum package to work with Enums in JS and communicate between our composer package mindtwo/native-enum
Easy to use, Symbol-based enum implementation
Simple JavaScript abstraction around Rust Enums
Enum
Java like Enum for ES6