1.0.0 • Published 6 years ago
test_restaurant v1.0.0
get fake_restaurant
Installation
npm install test_restaurant
Usage
For use restaurant simulation
var restaurant = require ('test_restaurant');
restaurant.allOrders();
restaurant.addOrders(newOrder);
restaurant.delOrders(1);
restaurant.setOrders(2,'ready');
restaurant.filterOrders('closed');
restaurant.total();
restaurant.ordersUsers('Caio');
1.0.0
6 years ago