restaurant-menu

1.0.2 • Public • Published

restaurant-menu npm

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.
   

Readme

Keywords

Package Sidebar

Install

npm i restaurant-menu

Weekly Downloads

1

Version

1.0.2

License

MIT

Unpacked Size

13.8 kB

Total Files

3

Last publish

Collaborators

  • saud_chougle