Very Simple and Easy Queue Manager
Installation
$ npm i ease-queue
Usage
const queue = require('ease-queue');
or in ES6:
import queue from 'ease-queue';
Examples
// Add something to queue
queue.add({ id: 7, name: 'Leon', amount: 1000 });
// Get something from queue
queue.get('id', 7);
// Remove from Queue
queue.remove('name', 'Leon');
// Update, add score to id 7
queue.update('id', 7, 'score', 20);
// Get the full Queue
queue.all();
// Clear Queue
queue.clear();