Skip to content

enumjs 1.0.1

Compare
Choose a tag to compare
@vivin vivin released this 21 Sep 04:24
· 3 commits to master since this release

Version 1.0.1

enumjs is a type-safe implementation of enums in JavaScript. It is modeled after the way enums are realized in Java. It is also available as a node package called node-enumjs.

Features:

  • Define type-safe enums (i.e., it is possible to use instanceof).
  • Define behavior on enum constants.

Credits

  • Vivin Paliath / author