🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

ezq

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ezq

a simple but extensible queue interface

latest
npmnpm
Version
0.0.1
Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

ezq - a simple but extensible queue interface for node

the goal of this module is to provide a generic interface to queues so that:

  • a simple app can use in-memory queues to reliably process tasks
  • a more sophisticated app can use external queue tools like rabbit or redis to separate producers and consumers

currently support:

  • rabbitmq (single or multiple processes)
  • in-memory (single process only)

simple use:

var q = require('ezq');
q.use(q.memory).then(function() {

  q.work('jobs', function(job, next) {
      // process job
      next();
  });

  q.add('jobs', {key: value});

});

FAQs

Package last updated on 01 May 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts