https://github.com/satyawikananda/yummy
A simple wrapper themealdb.com API for Deno 🦕
https://github.com/satyawikananda/yummy
deno food typescript yummy
Last synced: 2 months ago
JSON representation
A simple wrapper themealdb.com API for Deno 🦕
- Host: GitHub
- URL: https://github.com/satyawikananda/yummy
- Owner: satyawikananda
- License: mit
- Created: 2020-07-22T07:45:58.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-08-04T01:27:22.000Z (almost 6 years ago)
- Last Synced: 2025-10-05T01:07:10.859Z (9 months ago)
- Topics: deno, food, typescript, yummy
- Language: TypeScript
- Homepage: https://deno.land/x/yummy
- Size: 7.81 KB
- Stars: 4
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
Awesome Lists containing this project
README
# Yummy :shallow_pan_of_food: :pizza: 🦕
[](https://github.com/satyawikananda/yummy/blob/master/LICENSE)
A simple wrapper [themealdb.com](https://themealdb.com) API for Deno 🦕
## How to use? 🤔
```javascript
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](https://instagram.com/satyawikananda) ©2020