moving-avg

0.0.2 • Public • Published

moving-avg

Usage

const MovingAvg = require('moving-avg');

const mAvg = new MovingAvg(10, 1);

mAvg.push(2);
console.log(mAvg.avg); // 1.1

Readme

Keywords

Package Sidebar

Install

npm i moving-avg

Weekly Downloads

2

Version

0.0.2

License

none

Unpacked Size

129 kB

Total Files

14

Last publish

Collaborators

  • sebastianspeitel