1.0.2 • Published 7 years ago

alcorithm v1.0.2

Weekly downloads
4
License
ISC
Repository
github
Last release
7 years ago

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 }]);
1.0.2

7 years ago

1.0.1

7 years ago