Search results

21 packages found

Get just the keys (left hand side), values (right hand side), or entries (tuple of [key, value]) of a TypeScript enum

published 1.0.6 5 months ago
M
Q
P

creates a frozen object with matching keys and values

published 1.0.1 10 years ago
M
Q
P

Swift-like enum with associated values

published 2.0.0 6 years ago
M
Q
P

A simple and easy-to-use enum library for Javascript, with support for management of enums and their values

published 2.0.0 4 months ago
M
Q
P

Provides utilities for dealing with TypeScript's enum. For example, "list all member names", "list combos of member name and values", etc.

published 1.0.3 6 years ago
M
Q
P

Library for getting the names and values of typescript enum

published 1.2.1 6 years ago
M
Q
P

Generates a enum (like an object) with keys and values based on the elements of an array.

published 0.0.1 a month ago
M
Q
P

A standardized way to format values in your React components.

published 0.6.3 2 years ago
M
Q
P

Observable value that can only accept a preset list of values

published 1.0.0 9 years ago
M
Q
P

Small TypeScript utility to convert between compatible enum values

published 1.0.1 2 years ago
M
Q
P

a map-like data structure whose entry's items are unique values, each of which can be used as keys to get & set the given entry

published 1.0.5 6 years ago
M
Q
P

Transform an enum to array of values

published 1.0.1 2 years ago
M
Q
P

Allows mongoose to support enums as values of type 'number' rather than 'string'. IOW. make enums look and feel a whole lot more like they should!

published 1.0.4 7 years ago
M
Q
P

Retrieve enum values for mongoose schemas

published 1.0.2 3 years ago
M
Q
P

enum-js implements the data type whose set of values is a limited list of identifiers.

published 2.0.1 a year ago
M
Q
P

Library for create enum which support object as values. This library simulation as Swift associated values or Rust enum

published 1.0.0 22 days ago
M
Q
P

Mongoose plugin that provides convenient access to enum values

published 0.0.3 7 years ago
M
Q
P

A small collection of utility methods to help parse typescript enums into objects, keys and values

published 1.0.0 3 years ago
M
Q
P

A JavaScript library that helps with the enum pattern based on TypeScript. This fork of [rauschma/enumify](https://github.com/rauschma/enumify) permits to infer the correct type from constructed collections: for example, the type of `values()` will be `A

published 2.0.2 3 years ago
M
Q
P

A JavaScript class to hold enumerated cases and values

published 1.0.5 5 years ago
M
Q
P