Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback

Yummy :shallow_pan_of_food: πŸ• πŸ¦•

License: MIT

A simple wrapper themealdb.com API for Deno πŸ¦•

How to use? πŸ€”

import {
    getRandomMeal, 
    getCategories, 
    getFilterByCat, 
    getMainIngerdient,
    getListArea,
    getListCategories,
    getListIngredient
} from "https://deno.land/x/yummy/mod.ts"

// Get data random meal
console.log(await getRandomMeal())

// Get data's of categories
console.log(await getCategories())

// Get data by filter of the specific category
console.log(await getFilterByCat("seafood"))

// Get data recipe 
console.log(await getMainIngerdient("chicken_breast"))

// Get data list available area
console.log(await getListArea())

// Get data list available category
console.log(await getListCategories())

// Get  data list available ingredient
console.log(await getListIngredient())

How to run it ? πŸ€”

deno run --allow-net ./example/index.ts

How to test it ? πŸ€”

deno test --allow-net ./test/test.ts

Author

@Satyawikananda Β©2020