
Company News
/Security News
Socket Selected for OpenAI's Cybersecurity Grant Program
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.
node-messageq
Advanced tools
node-messageq is module to provide support for producer/consumer messaging system for different message engines. Currently module provides support for following four functions, more will be updated soon.
Can be installed using
$ npm install node-messageq
Configure
var options = {'driver':'rabbitMQ','AMQP_URL':'amqp://guest:guest@127.0.0.1:5672'};
var mh = require('node-messageq')(options);
publish
mh.publish('rewardsQueue',{key:'rewards',data:'hello rewards'},{persistent:true})
publishAsync
mh.publishAsync('rewardsQueue',{key:'rewards',data:'hellorewards'},{persistent:true},
function(result){
console.log('after pub',result);
})
publishWithKey
mh.publishWithKey('rewardsQueue','mykey',{key:'rewards',data:'hello rewards'},{persistent:true},function(result){
console.log('after pub',result);
});
consume
mh.consume('rewardsQueue', function(err, msg){
console.log('consumed====1111',msg.content.toString());
});
create channel
mh.createChannel(function(err,channel){
console.log(err,channel);
})
FAQs
message queue service
The npm package node-messageq receives a total of 5 weekly downloads. As such, node-messageq popularity was classified as not popular.
We found that node-messageq 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.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.

Security News
Socket CEO Feross Aboukhadijeh joins 10 Minutes or Less, a podcast by Ali Rohde, to discuss the recent surge in open source supply chain attacks.

Research
/Security News
Campaign of 108 extensions harvests identities, steals sessions, and adds backdoors to browsers, all tied to the same C2 infrastructure.