This module provides methods to generate various food-related information, such as items on a menu.
To generate the name of a dish, use dish() and to generate a long description for a dish use description(). Note that these will not correspond with each other.
You can also generate individual components of a dish such as spices, vegetables, meats, fruits, or generic ingredients.
faker.food.description() // 'An exquisite ostrich roast, infused with the essence of longan, slow-roasted to bring out its natural flavors and served with a side of creamy red cabbage'
Module for generating food-related data.
Overview
This module provides methods to generate various food-related information, such as items on a menu. To generate the name of a dish, use
dish()
and to generate a long description for a dish usedescription()
. Note that these will not correspond with each other. You can also generate individual components of a dish such as spices, vegetables, meats, fruits, or generic ingredients.