fixed-array (npm): A small utility for storing and working with a fixed-length history of (ususally numeric) values.
Keywords: array|fixed|size|length|stats