Search results
395 packages found
ESLint rules for TypeScript enums.
enum-js implements the data type whose set of values is a limited list of identifiers.
This package provides the methods needed to replace a PostgreSQL ENUM in Sequelize migrations.
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.
A rust inspired result enum for better responses in TypeScript
resolve TypeScript enum value do not support objects
Super simple typescript library for string-compatible enums
> Java-like enums in JavaScript
A Typescript library for creating discriminating union types.
HTTP Status Code enum in TypeScript
HTTP status codes, but in a typescript enum so you have a parent type
Generate compact encoding for defined enum or limited length arbitrary string
Node.js constants (ERRNO, SIGNALS, DLOPEN, PRIORITY) as javascript enums (frozen objects). Typescript types included.
Enums, BitFlags, BitFields, BitMasks and BitArrays for JavaScript & TypeScript
A JS/TS library that define enum with intelligent hints.
If you're using Typescript, you will realize that the enum type under typescript is not so useful, so I created this repository to handle the enum type.