
Security News
OpenClaw Skill Marketplace Emerges as Active Malware Vector
Security researchers report widespread abuse of OpenClaw skills to deliver info-stealing malware, exposing a new supply chain risk as agent ecosystems scale.
dq is a simple priority queue built on Redis.
npm install --save dq
alias: create()
config: Can take any of the following:
a. name (required)
b. port, defaults to 6379
c. host, defaults '127.0.0.1'
d. passwordcallback: optional, has signature (err, q)Example:
var dq = require('dq')
var q = dq.connect({name: 'tasks'})
// or...
dq.connect({name: 'tasks'}, function (err, q) {
})
callback: has signature (err, count)Example:
var dq = require('dq')
var q = dq.connect({name: 'tasks'})
q.count(function (err, count) {
console.log(count) // => 1356
})
callback: has signature (err, val)Example:
var dq = require('dq')
var q = dq.connect({name: 'tasks'})
q.deq(function (err, val) {
console.log(val)
})
value: (required) data to put in the queue, should be a string, any non-string will be type coercedpriority: (optional), defaults to 0, you should choose between 0 and 1 using the result of Math.random(). Values
between -Infinity and Infinfity will be accepted.callback: has signature (err, val)Example:
var dq = require('dq')
var q = dq.connect({name: 'tasks'})
q.enq('some data', Math.random(), function (err) { })
Return data from start until start + count, but don't remove the data.
example:
Assume the queue has the following contents: ['a', 'b', 'c', 'd']
var dq = require('dq')
dq.create({name: 'somedata'}, function (err, q) {
q.peak(1, 2, function (err, data) {
console.dir(data) // => ['b', 'c']
})
})
Licensed under MIT. See LICENSE for more details.
Copyright (c) 2012-2013 JP Richardson
FAQs
A simple priority queue built on Redis.
The npm package dq receives a total of 8 weekly downloads. As such, dq popularity was classified as not popular.
We found that dq demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.

Security News
Security researchers report widespread abuse of OpenClaw skills to deliver info-stealing malware, exposing a new supply chain risk as agent ecosystems scale.

Security News
Claude Opus 4.6 has uncovered more than 500 open source vulnerabilities, raising new considerations for disclosure, triage, and patching at scale.

Research
/Security News
Malicious dYdX client packages were published to npm and PyPI after a maintainer compromise, enabling wallet credential theft and remote code execution.