Giter Club home page Giter Club logo

brewcalc's Introduction

๐Ÿบ 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.

brewcalc's People

Contributors

alexslavr avatar dependabot[bot] avatar krutilin avatar logan-laughery avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

brewcalc's Issues

Parse Error on import if recipe xml file markup is broken

Uncaught Error: Parse Error: Mismatched closing tag (expected </b:recipeXmlns:b>) on line 12: </b:recipe>
at t.XML.t.Parser.a.throwParseError (brewcalc.min.js:1)
at t.XML.t.Parser.a.parse (brewcalc.min.js:1)
at t.XML.t.Parser.a.parse (brewcalc.min.js:1)
at new t.XML.t.Parser (brewcalc.min.js:1)
at Object.t.parse (brewcalc.min.js:1)
at t.importFromBeerXml (brewcalc.min.js:1)
at FileReader.r.onloadend (ImportArea.js:11)

SRM Color Impression Rendering with the deLange Formula

This is not a feature request, but I recently created an implementation of the deLange model (http://dx.doi.org/10.1016/B978-0-12-799954-8.00011-3) that can be used to color SRM values, and thought it might also be of interest to this community. The unique feature of this model is that it was derived from spectral analysis of 99 beers, rather than polynomial fits to the color gradients of an existing beer color guide. In addition, it formed the basis for the BJCP color guide and can also be adapted for specific beer glass widths, as the perceived color of beer darkens in wider glasses.

The implementation for several programming languages is available here: https://github.com/aschet/olfarve

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.