# @gavinning/enum

> enum for js

Latest version **0.0.1** (published 2018-06-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install @gavinning/enum
pnpm add @gavinning/enum
yarn add @gavinning/enum
bun add @gavinning/enum
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2018-06-26 |
| First published | 2018-06-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 60.2 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Author | gavinning |
| Maintainers | gavinning |
| Keywords | enum |

## Links

- npm: https://www.npmjs.com/package/@gavinning/enum
- Repository: https://github.com/gavinning/enum
- Homepage: https://github.com/gavinning/enum#readme
- Issues: https://github.com/gavinning/enum/issues
- npm.io page: https://npm.io/package/@gavinning/enum

## Dependencies (1)

- [uuid](https://npm.io/package/uuid.md) ^3.2.1

## Recent versions

- 0.0.1 (latest) — 2018-06-26

## README

Enum.js
---
Enum for js


### Install
```sh
npm i @gavinning/enum --save
```


### Usage
```js
import Enum from '@gavinning/enum'

```

```js
let Week = new Enum([
    'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday'
])
```

```js
let Theme = new Enum([
    'light', 'night'
])
```

```js
let Size  = new Enum({
    small: 14,
    normal: 16,
    large: 20
})
```

---
_Source: https://npm.io/package/@gavinning/enum · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
