fake_restaurant_simulation

A simple fake restaurant simulation

Usage no npm install needed!

<script type="module">
  import fakeRestaurantSimulation from 'https://cdn.skypack.dev/fake_restaurant_simulation';
</script>

README

get fake_restaurant

Installation

npm install fake_restaurant_simulation

Usage

For use restaurant simulation

var restaurant = require ('fake_restaurant_simulation');


restaurant.allOrders();
restaurant.addOrders(newOrder);
restaurant.delOrders(1);
restaurant.setOrders(2,'ready');
restaurant.filterOrders('closed');
restaurant.total();
restaurant.ordersUsers('Caio');