Body Mass Index Calculator - Imperial or metric
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
images Add files via upload Jun 4, 2018
LICENSE Initial commit Jun 3, 2018
MMM-BMI.css Add files via upload Jun 4, 2018
MMM-BMI.js Add files via upload Jun 4, 2018
README.md Update README.md Jun 4, 2018
node_helper.js Add files via upload Jun 4, 2018
package.json Add files via upload Jun 3, 2018

README.md

MMM-BMI

Body Mass Index Calculator

Piss off your wife or girlfriend

Put your name, height and weight into the config.js file. Then, put your wife's, or your girlfriend's, height and weight into the config.js and count the seconds until you are single again!

Why would you use this module?

  • As a motivation tool.
  • You want a divorce.
  • I begged you. :^)

How it works

Simply enter your name, height and weight into the config.js file and this module will calculate your Body Mass Index. I added the ability to enter a second set of value's for your significant other.

Examples

Installation and requirements

  • git clone https://github.com/mykle1/MMM-BMI into the ~/MagicMirror/modules directory.

  • cd MMM-BMI and run npm install

Config.js entry and options

{
    disabled: false,
    module: "MMM-BMI",
    position: "top_center",
    config: {
        name: "Mykle",                    // Your name
        imperialUnits: true,		      // true or (false = metric)
        weight: "195",                    // lbs and inches or kg and m
        height: "69",                     // lbs and inches or kg and m
        herName: "Lucy",
        herWeight: "19",                 // lbs and inches or kg and m
        herHeight: "26",                 // lbs and inches or kg and m
        useHeader: true,                 // true if you want a header                 
        header: "YOUR BODY MASS INDEX",
        maxWidth: "350px",
    }
},