Skip to content

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

License

Notifications You must be signed in to change notification settings

chrisaljoudi/Queue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published