AvgCounter.js
Counts things and averages them per whatever time unit you like.
Installation
npm install avgcounter
Usage
Here is a fun little example. A request per second counter:
var http = ;var avgcounter = ; // init the request per second counter and keep 5 observationsavgcounter; // start a http serverhttp; console;