@brewlab/calc
TypeScript icon, indicating that this package has built-in type declarations

0.3.14 • Public • Published

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.

Package Sidebar

Install

npm i @brewlab/calc

Weekly Downloads

0

Version

0.3.14

License

Apache-2.0

Unpacked Size

38.6 kB

Total Files

29

Last publish

Collaborators

  • bblais