‚̧Not Preposterously Macho
    Have ideas to improve npm?Join in the discussion! ¬Ľ

    5rolli-time-summarizer

    0.1.0¬†‚Äʬ†Public¬†‚Äʬ†Published

    5rolli-time-summarizer

    NPM version NPM downloads Build Status Coverage Status Dependency Status DevDependency Status License

    Summarize time records for 5ROLLI.

    Installation

    npm install --save 5rolli-time-summarizer
    

    Usage

    import summarizer from '5rolli-time-summarizer';
     
    const times = [
      {es50: 60, es90: 200, spent: 100},
      {es50: 120, es90: 300, spent: undefined},
      {es50: 15, es90: 45, spent: undefined},
      {es50: 60, es90: 200, spent: 300}
    ];
    const summary = summarizer(times);
    console.log(summary);
    // {
    //   buffer: 72500,
    //   es: 524,
    //   es50: 255,
    //   es90: 745,
    //   spent: 400
    // }

    Install

    npm i 5rolli-time-summarizer

    DownloadsWeekly Downloads

    3

    Version

    0.1.0

    License

    MIT

    Last publish

    Collaborators

    • avatar