cuejs
v0.2.0
Published
A utility library that ingests data files from a specified directory
Downloads
4
Readme
Cuejs
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
- Error Handling
- Stress test
- 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