Skip to content

Latest commit

 

History

History
7 lines (7 loc) · 520 Bytes

README.md

File metadata and controls

7 lines (7 loc) · 520 Bytes

Fitness Macros Calculator

This is the Mifflin Macros Calculator. Macro Calculator - Mifflin-St Jeor Formula

Example Use

var mifflin = require("fitness-macros-calculator"); var sum = mifflin.macros({weight: 132,height:{ft:6,in:1},birthday:481834906});

Example Return Value

return value = { carbs : { weightloss : '137.0', weightmaintain : '218.0', weightgain : '259.0' }, calories : { weightloss : 1291.44, weightmaintain : 1547.0375, weightgain : 1668.1100000000001 }, fat : '36.0', protein : '103' }