@aureooms/js-fifo First In, First Out data structures for JavaScript. See docs. Parent is @aureooms/js-data-structures. queue.push( 1 ) ; queue.push( 2 ) ; queue.push( 3 ) ; queue.shift( ) ; // 1 queue.shift( ) ; // 2 queue.shift( ) ; // 3