cuejs

0.2.0 • Public • Published

Cuejs npm codecov

A Base representation of a Queue in Javascript.

Node version was tested using v7.1.0 so be aware that older versions may not work yet.

TODOs

  1. Error Handling
  2. Stress test
  3. Investigate Node.js version restrictions

How to run it you ask?

const Queue = require('queuer');
const queue = new Queue();

queue.push(1);
queue.dequeue(); // returns value 1
queue.peek(); // returns next value to be dequeued

Readme

Keywords

none

Package Sidebar

Install

npm i cuejs

Weekly Downloads

3

Version

0.2.0

License

MIT

Last publish

Collaborators

  • stoltzy409