Socket
Socket
Sign inDemoInstall

restaurant-menu

Package Overview
Dependencies
0
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    restaurant-menu

restaurant menu api


Version published
Weekly downloads
1
decreased by-66.67%
Maintainers
1
Install size
13.5 kB
Created
Weekly downloads
 

Readme

Source

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.
   

Keywords

FAQs

Last updated on 25 Feb 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc