Looking for inspiration on what pizza to order or make today? "Pizza Picker" provides randomized pizza recommendations to help you decide. Whether you're in the mood for something classic, vegetarian, or vegan, we've got you covered. ๐ด๐
Before using the "Pizza Picker" package, you need to install it. As it seems to be a local package in your example, let's adjust the instructions for a scenario where the package is available on npm. If the package is not published to npm yet, you can refer to the instructions for local setup.
npm install pizza-picker
Ensure you have PizzaSelector.js and pizzas.js in your project, then:
const pizzaSelector = require('./path/to/PizzaSelector');
After installation, you can easily get pizza recommendations:
// Get any random pizza
console.log(pizzaSelector.getRandomPizza());
// Get a random vegetarian pizza
console.log(pizzaSelector.getRandomPizzaByCategory('vegetarian'));
// Get a random vegan pizza
console.log(pizzaSelector.getRandomPizzaByCategory('vegan'));
That's it! Enjoy exploring diverse and delicious pizza options. โ
Contributions are welcome! If you have ideas for new features, improvements, or bug fixes, feel free to fork the repository, make your changes, and submit a pull request. Please adhere to the existing coding style and add unit tests for any new or changed functionality. ๐๐
This project is maintained by George Vasilakis. If you have any questions or feedback, please don't hesitate to reach out.