Skip to main content

food Domain

The food domain maps domain keywords to underlying faker implementations.

Faker Documentation

Methods

food.adjective

Generates a random dish adjective.

No parameters.

Examples:

food.adjective()

Example return values:

  • "tangy"
  • "juicy"

food.description

Generates a random dish description.

No parameters.

Examples:

food.description()

Example return values:

  • "Grilled venison kebabs, marinated in Mangalorean spices and served with a fresh rhubarb and blueberry salad."
  • "A slow-roasted Willow Ptarmigan with a zesty, crunchy exterior. Stuffed with banana and covered in papaw sauce. Sides with broccoli puree and wild jicama."

food.dish

Generates a random dish name.

No parameters.

Examples:

food.dish()

Example return values:

  • "German Chamomile-crusted Salmon"
  • "Linguine With Clams"

food.ethnicCategory

Generates a random food's ethnic category.

No parameters.

Examples:

food.ethnicCategory()

Example return values:

  • "Korean"
  • "Keralite"

food.fruit

Generates a random fruit name.

No parameters.

Examples:

food.fruit()

Example return values:

  • "mango"
  • "sultana"

food.ingredient

Generates a random ingredient name.

No parameters.

Examples:

food.ingredient()

Example return values:

  • "taleggio cheese"
  • "freekeh"

food.meat

Generates a random meat

No parameters.

Examples:

food.meat()

Example return values:

  • "turkey"
  • "venison"

food.spice

Generates a random spice name.

No parameters.

Examples:

food.spice()

Example return values:

  • "lime leaves"
  • "paprika"

food.vegetable

Generates a random vegetable name.

No parameters.

Examples:

food.vegetable()

Example return values:

  • "cabbage"
  • "leeks"