vendingm

1.2.0 • Public • Published

V.1.0.0 This is a vending machine type module.

To add more items to the list do: VM.machine.push({name:'Example', price:100})

To change an item do: VM.machine[0].name = 'Example' or VM.machine[0].price = 100

To change the amount of money you have do: VM.money = 100

And finally to activate the machine, do: VM.func();

V.1.10: Added the 'random' command. VM.random(limit,true/false) The second parameter indicates wether or not you'll get a rounded number. The limit will not be reached.

V.1.2.0 Fixed a major bug: -The package ACTUALLY works now.

Package Sidebar

Install

npm i vendingm

Weekly Downloads

3

Version

1.2.0

License

13yrsold

Unpacked Size

2.83 kB

Total Files

3

Last publish

Collaborators

  • zedude