node package manager
Love JavaScript? Your insights can make it even better. Take the 2017 JavaScript Ecosystem Survey ยป

ring-array

Ring Array

A simple "ring buffer" implemented as an Array. The Array will never grow beyond the given size, overwriting the oldest items instead.