Skip to content

Latest commit

 

History

History
39 lines (23 loc) · 888 Bytes

README.md

File metadata and controls

39 lines (23 loc) · 888 Bytes

brewlab-calc

npm version

Library that contains methods for use for calculations used in brewing. You can use it for calculating ABV, Gravity etc.

Installation

Brewlab calc can be found on NPM

npm install --save @brewlab/calc

Using libraries

You can import any of the methods of this library.

import {finalGravity} from '@brewlab/calc';

const fg = finalGravity(1.050, 75);

Individual functions

If you are trying to reduce bundle size you can import individual functions from their respective files.

import finalGravity from '@brewlab/calc/finalGravity'

const fg = finalGravity(1.050, 75);

Contributing

please refer to CONTRIBUTING file for information on making contributions to this library.