This module leverages data from https://world.openfoodfacts.org/ and more providers about to come.
import { FoodInfoProvider } from "https://deno.land/x/food@1.2.0/infoprovider.ts"
const productID = '737628064502'
const foodInfo = await FoodInfoProvider.getProductInfo(productID)
console.log(`I found the following info for product ${productID}: \n${JSON.stringify(foodInfo)}\n`)
deno run --allow-net https://deno.land/x/food@1.2.0/test-it.ts
Feel free to create a pull request if you would like to improve things like adding recipes etc.
If you like my work please consider downloading the brave browser via my promotion link: https://brave.com/fan464.