restaurant-menu
v1.0.2
Published
restaurant menu api
Downloads
3
Readme
restaurant-menu
Basically it is restaurant menu api. It contain more than 300 items with its price
Installation
Either through cloning with git or by using npm (the recommended way):
npm install restaurant-menu
Usage
[
{
"name": "VEG SOUP",
"items": [
"Sweet Corn Soup",
"Manchow Soup",
"Clear Soup",
"Hot & Sour Soup",
"Cream of Tomato Soup",
"Veg Noodles Soup",
"Veg Lemon Coriander Soup"
],
"price": [90, 100, 80, 100, 80, 100, 130]
}
]
example:
const menu = require("restaurant-menu");
console.log(menu[0].name); // it will return "VEG SOUP"
console.log(menu[0].items); // it will return [ 'Sweet Corn Soup','Manchow Soup','Clear Soup','Hot & Sour Soup','Cream of Tomato Soup','Veg Noodles Soup','Veg Lemon Coriander Soup' ]
console.log(menu[0].price); // it will return [ 90, 100, 80, 100, 80, 100, 130 ]
// similarly you can get remaining objects.