/brewcalc

JavaScript (ES6) home brewing recipe calculator library

Primary LanguageTypeScriptMIT LicenseMIT

🍺 brewcalc brewcalc tests

A modern (ES6) functional JavaScript library for brewing calculations.

▶️ Try it online

🚀 Installation

There are two ways to use brewcalc - client-side in a web browser or server-side using node.js.

Browser

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>

Node.js

For Node.js, you can install brewcalc using npm:

npm install brewcalc

add --save option to add brewcalc to your project's package.json

Input data types

For expected input data types please refer to FlowType definitions.