Skip to content

RyanAStuart/alcorithm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Calculate the ABV % of a mixed drink

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published