node-rate-counter
Calculate the incomming rate of anything.
Installation
npm install node-rate-counter
Usage
let counter =//increment counter every 100ms (i.e rate of 10/s)
N.B.
This module has a margin of error when using node js timers due to the nature of of node js. See this link for more detail