A simple ring buffer implemented as an Array.
A simple "ring buffer" implemented as an Array. The Array will never grow beyond
the given size, overwriting the oldest items instead.
TOMORROW! Join the npm community to build amazing things. Buy a ticket now »
how? learn more