recipe-scraper
Version:
A JS package for scraping recipes from the web.
22 lines (20 loc) • 360 B
JavaScript
class Recipe {
constructor() {
this.name = "";
this.description = "";
this.ingredients = [];
this.instructions = [];
this.tags = [];
this.time = {
prep: "",
cook: "",
active: "",
inactive: "",
ready: "",
total: ""
};
this.servings = "";
this.image = "";
}
}
module.exports = Recipe;