Socket
Socket
Sign inDemoInstall

sidekiq

Package Overview
Dependencies
1
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    sidekiq

Enqueue sidekiq jobs from your node apps.


Version published
Weekly downloads
381
increased by36.07%
Maintainers
1
Install size
214 kB
Created
Weekly downloads
 

Readme

Source

Add Jobs to Sidekiq from Node.js

Enqueue jobs to sidekiq from your node apps. Closely mirrors the official ruby sidekiq interface and supports job scheduling.

Installation

npm install sidekiq --save

Usage

// Require the module
Sidekiq = require("sidekiq");

// Construct a sidekiq object with your redis connection and optional namespace
sidekiq = new Sidekiq(redisCon, process.env.NODE_ENV);

// Add a job to sidekiq
sidekiq.enqueue("WorkerClass", ["argument", "array"], {
    retry: false,
    queue: "critical"
});

// Schedule a job in sidekiq
sidekiq.enqueue("WorkerClass", ["some", "args"], {
    at: new Date(2013, 11, 1)
});

How to Build

# Install development dependencies
npm install

# Use grunt to generate the js version (lib/index.js)
grunt

Reporting Bugs or Feature Requests

Please report any bugs or feature requests on the github issues page for this project here:

https://github.com/loopj/node-sidekiq/issues

Contributing

License

This is free software released under the MIT License. See LICENSE.txt for details.

Keywords

FAQs

Last updated on 06 Oct 2014

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc