238 packages found

M
Q
P

Description

This package provides the methods needed to replace a PostgreSQL ENUM in Sequelize migrations.

Keywords

Publisher

published 1.6.03 months ago
M
Q
P

Description

Enum is a javascript module that introduces the Enum Type. It works for node.js, in the browser and for deno.

Keywords

Publisher

published 3.0.410 months ago
M
Q
P

Description

Create an enum object from an array of keys with optional prefixes and suffixes. IE9+ Support. No dependencies.

Keywords

Publisher

published 1.0.23 months ago
M
Q
P

Description

Convenient enumeration pattern for JavaScript

Keywords

Publisher

published 4.2.9a month ago
M
Q
P

Description

Easy but powerful enums for safer code. e.g. const Fruit = new Enum("apple pear banana"); gives you Fruit.apple, Fruit.has("apple"), and Fruit.$apple() (as a fail-fast value), whilst Fruit.isApple('penguin') will throw an error.

Keywords

Publisher

published 1.1.86 months ago
M
Q
P

Description

A Vanilla JavaScript library to work with Enums

Keywords

Publisher

published 1.1.142 years ago
M
Q
P

Description

This library provides utilities to define C# enum like objects

Keywords

Publisher

published 1.0.16 months ago
M
Q
P

Description

Check if an string or number is compatible to an TypeScript enum structure

Keywords

Publisher

published 1.0.010 months ago
M
Q
P

Description

A tiny and fast dynamic type checker/enforcer library

Keywords

Publisher

published 1.9.37 months ago
M
Q
P

Description

A simple Enum type for JavaScript

Keywords

Publisher

published 1.0.25 months ago
M
Q
P

Description

An implementation of python-like enums in JavaScript.

Keywords

Publisher

published 1.1.06 months ago
M
Q
P

Description

Create enums with ease

Keywords

Publisher

published 1.0.2a year ago
M
Q
P

Description

Transform TypeScript `const` enums

Keywords

Publisher

published 1.0.1a year ago
M
Q
P

Description

Implementation of pattern matchable Enum for JS

Keywords

Publisher

published 0.8.32 years ago
M
Q
P

Description

enumerations in pure Luau, following an api almost identical to enumerate

Keywords

Publisher

published 1.0.72 months ago
M
Q
P

Description

A set of misc utilties I find myself repeatedly re-writing between projects.

Keywords

Publisher

published 0.92.217 days ago
M
Q
P

Description

simple enum type for js

Keywords

Publisher

published 0.4.110 months ago
M
Q
P

Description

A TypeScript string enum for compile-time safety when working with event.key

Keywords

Publisher

published 2.0.72 months ago
M
Q
P

Description

TypeScript Enum Utilities

Keywords

Publisher

published 4.0.29 months ago
M
Q
P

Description

easy javascript enum

Keywords

Publisher

published 1.0.3a year ago