Enum is a javascript module that introduces the Enum Type. It works for node.js and in the browser.