Are there any implementations of circular buffers/ring buffers on NPM (Node.JS Package Manager)? I can easily implement one by myself, but I'd like to have an easily deployable and maintained library.
My use case is storing time series in a fixed-size in-memory database a la RRDTool, but neither RRDTool nor its reimplementation in Javascript (I forgot the name) fit. I need to store large (50KB) JSON objects.