How Many Pizza?
This module helps you to calculate how many Pizza you need based on number of people you want to feed.
For Science behind read
npm install how-many-pizza
howManyPizza(people, [slicesXperson], [#slicesXpizza])
// Load library var howManyPizza = require('how-many-pizza'); // Calculate pizzas for 50 people console.log(howManyPizza(50)); // => 19 // Calculate pizzas for 50 people // 4 slices per person and pizzas of 12 slices console.log(howManyPizza(50, 4, 12)); // => 17