1.0.20 • Published 3 years ago

yamit-food-menu v1.0.20

Weekly downloads
67
License
ISC
Repository
-
Last release
3 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

3 years ago

1.0.20

3 years ago

1.0.18

3 years ago

1.0.17

3 years ago

1.0.16

3 years ago

1.0.15

3 years ago

1.0.13

3 years ago

1.0.12

3 years ago

1.0.11

3 years ago

1.0.10

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago