activity-points

    1.0.1 • Public • Published

    Activity points

    Calculate points for an activity based on your weight, duration, and intensity.

    Install

    npm install activity-points

    Usage

    var ap = require('activity-points');
    var weight = 100; // kg
    var duration = 30; // minutes
    var intensity = 'moderate'; // low, moderate, high
    var points = ap.calculate(weight, duration, intensity);

    Install

    npm i activity-points

    DownloadsWeekly Downloads

    0

    Version

    1.0.1

    License

    none

    Last publish

    Collaborators

    • carlgrundberg