enum-set (npm): EnumSet functionality in Javascript
Keywords: EnumSet|Set