circular_buffer_js
JSON →A TypeScript/JavaScript implementation of a circular buffer (ring buffer, cyclic queue) with 100% code and property coverage. Current stable version is 1.10.0. Released regularly with no notable release cadence. Key differentiators: zero runtime dependencies, multiple build outputs (ESM module, CommonJS, IIFE), TypeScript types included, and extensive testing. Compared to alternatives like 'buffer' or simple arrays, it provides a fixed-size FIFO data structure with efficient push/pop and additional utility methods like shove, resize, and reverse.
Resources
packagecircular_buffer_js ↗
API endpoints
full doc /v1/registry/circular_buffer_js