A performant double-ended queue (deque) implementation in javascript.
github.com/datastructures-js/deque
datastructures-js/deque