yamit-food-menu
v1.0.20
Published
Food Menu for people
Downloads
33
Readme
yamit-food-menu
Get food menu list.
- A npm package to return a list of Good/Bad/All food options.
Table of Contents
Installing / Getting started
A quick introduction of the minimal setup you need to get a up & running.
$ npm install --save yamit-food-menu
Usage
Here's a brief intro about what a developer must do in order to start developing the project further:
const foodMenu = require('yamit-food-menu');
foodMenu.getAllMenu();
//=> 'Egg, Salad, Bread, Cake'
foodMenu.getGoodMenu();
//=> 'Egg, Salad'
foodMenu.getBadMenu();
//=> 'Bread, Cake'
foodMenu.getCalories(string food name);
//=> 'Bread, Cake'
API
| Method | Type | Description |
|:-----------------:|:------------:|-------------------------------------------------------------------------------------------------------------------------|
| .getAllMenu
| string | List of all food list |
| .getGoodMenu
| string | List of all good food |
| .getBadMenu
| string | List of all bad food |
| .getCalories
| string | calories number |