Skip to content

KooiInc/ES-flagged-enum

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ES-flagged-enum

A module to create and use flagged enums in vanilla EcmaScript.

The module is programmed in a Class-free Object Oriented way. See:

The exported enumFactory creates either an empty flagged Enum or a flagged Enum from (an Array of) string(s). The created Enum is in fact an empty proxified Object, using private (closed over) Objects.

Fork this little Stackblitz project or see Demo

Also available as npm package.

About

A flagged enum creation module

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors