Skip to content
A simple, efficient queue module for node and the browser.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
test
.travis.yml
LICENSE
README.md
index.js
package.json

README.md

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.

You can’t perform that action at this time.