A modern (ES6) functional JavaScript library for brewing calculations.
- Online recipe calculator - import any BeerXML file or edit recipe JSON online.
- JSFiddle sample
There are two ways to use brewcalc - client-side in a web browser or server-side using node.js.
To use brewcalc in a browser, download compiled lib and include it to your html:
<script type="text/javascript" src="/scripts/brewcalc.min.js"></script>
For Node.js, you can install brewcalc using npm
:
npm install brewcalc
add --save
option to add brewcalc to your project's package.json
For expected input data types please refer to FlowType definitions.