Queue-List
JSON →A lightweight JavaScript queue data structure with O(1) time complexity for all operations. Version 1.1.8, stable. Provides a simple, minimal API (enqueue, dequeue, peek, isEmpty, size, clear) and custom console.log formatting for Queue instances. Unlike many other queue implementations that use arrays (O(n) dequeue), this library uses a linked-list-based approach for guaranteed constant-time performance. Suitable for both Node.js and browser environments. No dependencies.
Traffic · last 30 days ↑400% vs prev 7d
total hits 11
actors 2 distinct systems
last hit 13d ago AhrefsBot
top countries 🇸🇬 Singapore · 🇺🇸 United States · 🇨🇦 Canada · CR · 🇫🇷 France
Resources
packagequeue-list ↗