JSPM

fitness-macros-calculator

2.1.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q26119F
  • License MIT

This is a fitness calculator for macros with three levels of fitness lose weight, get gains, or maintain fitness with protein, calories, fats, and carbs

Package Exports

  • fitness-macros-calculator

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (fitness-macros-calculator) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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' }