queue-lit@3.3.0
// queue-lit is a tiny queue data structure in case you `Array#push()` or `Array#shift()` on large arrays very often
$ npm install queue-lit
downloads/wk
2,865,493
license
MIT
version
3.3.0
published
Jun 28, 2026
What is queue-lit?
queue-lit is a lightweight queue data structure designed to efficiently handle frequent push and shift operations. It solves the performance problem of using native JavaScript arrays for queue-like operations, where repeatedly shifting from large arrays becomes slow. Developers should use this when they need a performant queue implementation for high-frequency add/remove operations.
Links
Maintainers
joelvoss