Disque client for Node and io.js based on ioredis.
Support Node.js >= 0.11.16 or io.js.
$ npm install disque
var Disque = require('disque');
var disque = new Disque([
{ port: 7711, host: 'localhost' },
{ port: 7712, host: 'localhost' },
]);
disque.addjob('greeting', 'hello world!', 0, function () {
console.log(arguments);
});