244 packages found

    Description

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

    Keywords

    Publisher

    published 1.6.06 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.26 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.4a year ago
    M
    Q
    P

    Description

    Convenient enumeration pattern for JavaScript

    Keywords

    Publisher

    published 4.2.93 months ago
    M
    Q
    P

    Description

    This library provides utilities to define C# enum like objects

    Keywords

    Publisher

    published 1.0.18 months ago
    M
    Q
    P

    Description

    Easy to use, Symbol-based enum implementation

    Keywords

    Publisher

    published 0.4.021 days ago
    M
    Q
    P

    Description

    An implementation of python-like enums in JavaScript.

    Keywords

    Publisher

    published 1.1.08 months ago
    M
    Q
    P

    Description

    A simple Enum type for JavaScript

    Keywords

    Publisher

    published 1.0.27 months ago
    M
    Q
    P

    Description

    A tiny and fast dynamic type checker/enforcer library

    Keywords

    Publisher

    published 1.9.310 months 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.74 months ago
    M
    Q
    P

    Description

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

    Keywords

    Publisher

    published 0.92.23 months ago
    M
    Q
    P

    Description

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

    Keywords

    Publisher

    published 2.0.74 months 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.88 months ago
    M
    Q
    P

    Description

    easy javascript enum

    Keywords

    Publisher

    published 1.0.3a year ago
    M
    Q
    P

    Description

    TypeScript Enum Utilities

    Keywords

    Publisher

    published 4.0.2a year ago
    M
    Q
    P

    Description

    Extended JavaScript Type Validator

    Keywords

    Publisher

    published 1.0.4a year ago
    M
    Q
    P

    Description

    simple enum type for js

    Keywords

    Publisher

    published 0.4.1a year ago
    M
    Q
    P

    Description

    TypeScript schema validation

    Keywords

    Publisher

    published 2.0.24 months ago
    M
    Q
    P

    Description

    create frozen string reference look ups from a string array

    Keywords

    Publisher

    published 1.1.22 years ago
    M
    Q
    P