1.0.20 • Published 5 years ago

yamit-food-menu v1.0.20

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

5 years ago

1.0.20

5 years ago

1.0.18

5 years ago

1.0.17

5 years ago

1.0.16

5 years ago

1.0.15

5 years ago

1.0.13

5 years ago

1.0.12

5 years ago

1.0.11

5 years ago

1.0.10

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago