Denque
JSON →Denque is a high-performance double-ended queue (deque) implementation for JavaScript/Node.js, version 2.1.0. It provides O(1) operations for push, pop, shift, unshift, and random access via peekAt(index). Zero dependencies, ships TypeScript definitions. Maintained by Invertase, used by official Redis, MongoDB, MariaDB, MySQL and Redis clients. Outperforms other deque libraries like double-ended-queue in benchmarks.