Skip to content

Latest commit

 

History

History
41 lines (27 loc) · 732 Bytes

README.md

File metadata and controls

41 lines (27 loc) · 732 Bytes

Queue Build Status

A simple, efficient queue module for node and the browser.

Usage

Create a new empty queue:

var q = new Queue();

Push something onto the queue:

q.push(2);

Properties top and length:

console.log(q.top, q.length);

Pop the head of the queue (returns the head):

console.log(q.pop());

Reset the queue back to be empty:

q.reset();

Who wrote this?

Queue was written with care and love by Chris.

License

Queue is released under the MIT License. See LICENSE.