rate-per-time-unit

A lightweight JavaScript library for calculating the rate per second, minute, or hour of any recurring event, using a sliding window approach.