Glenn Tinseth's IBU formula.
npm install tinseth
var tinseth = ;; // -> IBUs for this hop addition
ogthe expected OG of your brew
boilSizethe amount of the wort at the start of the boil (in liters)
postBoilVolumethe amount of wort at the end of the boil (in liters)
aathe alpha acid percentage of the hop, a number between
amountthe amount of hops in this addition (in grams)
timethe duration this hop will be in the boil for (in minutes)
maximumUtilizationValueoptional the maximum utilization value. Defaults to
4.15. From How to Brew: "This number may be adjusted to customize the curves to your own system. If you feel that you are having a very vigorous boil or generally get more utilization out of a given boil time for whatever reason, you can reduce the number a small amount to 4 or 3.9. Likewise if you think that you are getting less, then you can increase it by 1 or 2 tenths."