1.0.2 • Published 7 years ago
alcorithm v1.0.2
alcorithm
Calculate the ABV % of a mixed drink
usage
With known container volume:
let alcorithm = require('alcorithm');
alcorithm.withVolume(300, [{ abv: .4, volume: 30 }]);
Without known containter volume:
let alcorithm = require('alcorithm');
alcorithm.withoutVolume([{ abv: .4, volume: 30} , { abv: 0, volume: 250 }]);