{"library":"CBuffer","type":"library","category":null,"description":"A circular buffer (ring buffer) implementation for JavaScript that aims to replicate the full Array.prototype API. Version 2.2.0 is the latest stable release; the project appears to be in maintenance mode with infrequent updates. Key differentiators: provides overflow callback, rotation methods (rotateLeft/rotateRight), sortedIndex, and get/set methods. Includes TypeScript definitions. Lightweight with no external dependencies.","language":"javascript","status":"maintenance","version":"2.2.0","tags":["javascript","circular buffer","ring","circular","buffer","data structure","typescript"],"last_verified":"Thu Jun 04","install":[{"cmd":"npm install CBuffer","imports":["import CBuffer from 'cbuffer'","const CBuffer = require('cbuffer').default","import type CBuffer from 'cbuffer'"]},{"cmd":"yarn add CBuffer","imports":[]},{"cmd":"pnpm add CBuffer","imports":[]}],"homepage":"https://github.com/trevnorris/cbuffer","github":"https://github.com/trevnorris/cbuffer","docs":null,"changelog":null,"pypi":null,"npm":"CBuffer","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}