1.0.20 • Published 4 years ago

yamit-food-menu v1.0.20

Weekly downloads
67
License
ISC
Repository
-
Last release
4 years ago

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

MethodTypeDescription
.getAllMenustringList of all food list
.getGoodMenustringList of all good food
.getBadMenustringList of all bad food
.getCaloriesstringcalories number
1.0.19

4 years ago

1.0.20

4 years ago

1.0.18

4 years ago

1.0.17

4 years ago

1.0.16

4 years ago

1.0.15

4 years ago

1.0.13

4 years ago

1.0.12

4 years ago

1.0.11

4 years ago

1.0.10

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago