jhs-vending-machine

A vending machine simulator

Usage no npm install needed!

<script type="module">
  import jhsVendingMachine from 'https://cdn.skypack.dev/jhs-vending-machine';
</script>

README

A vending machine simulator

jawadhasan80@gmail.com

USAGE:

Create a component with this code: Add the necessary imports.

pageTitle = "Vending machine simulation"; machine: VendingMachine;

constructor() { }

ngOnInit() { this.machine = new VendingMachine(); this.machine.size = VendingMachineSize.medium; }