Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

restaurant-menu

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

restaurant-menu

restaurant menu api

  • 1.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
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

Package last updated on 25 Feb 2019

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc