enumeration.js (npm): Java-like super flexible enums ! Move the logic. 
Keywords: enum|enumeration|java-like