Preparing for system design interviews?  Try bugzed.com →

double-ended-queue (Deque)

JSON →
library 2.1.0-0 ·javascript maintenance
verified Jun 7, 2026

Extremely fast double-ended queue (deque) implementation in JavaScript, version 2.1.0-0. Uses a circular buffer for O(1) operations on both ends, including random access via .get(). Outperforms native Array for shift/unshift even with V8's small array optimization. Suitable as stack, queue, or deque. No dependencies. Last release was a pre-release; library may be in maintenance mode.

total hits 18
actors 4 distinct systems
last hit 18d ago human
GPTBot
3
Amazonbot
3
Humans
10

top countries 🇺🇸 United States · 🇸🇬 Singapore · VN · 🇬🇧 United Kingdom · 🇨🇦 Canada