std-queue
JSON →std-queue is an efficient FIFO queue for JavaScript/TypeScript that provides O(1) enqueue and dequeue operations. Version 0.1.6 is the latest stable release. Its key differentiator is an underlying linked list of subqueues (arrays of max size 1000) that avoids the O(n) shift cost of naive array-based queues and the memory overhead of pure linked lists. Designed for handling large amounts of data efficiently. The package ships TypeScript type definitions and has no external dependencies. It is actively maintained on GitHub.
Resources
packagestd-queue ↗