enums

1.0.3 • Public • Published

Enums

Usage

var status = new Enums([
  {
    name: 'CLOSED',
    code: '1',
    message: 'Shop close'
  },
  {
    name: 'OPENED',
    code: '2',
    message: 'Shop open'
  }
]);
 
console.log(status.CLOSED);
console.log(status.OPENED);

Readme

Keywords

Package Sidebar

Install

npm i enums

Weekly Downloads

255

Version

1.0.3

License

MIT

Unpacked Size

2.71 kB

Total Files

4

Last publish

Collaborators

  • coolme200
  • gxcsoccer