
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
npm install mq-library --save
Define a configuration
var amqpConfig = {
connection: {
host: 'rabbitmq',
port: 5672,
vhost: '/',
user: 'guest',
pass: 'guest',
useConfirms: false
},
exchanges: [
{name: 'domain.events', type: 'topic', durable: true},
{name: 'domain.events.DL', type: 'topic'},
{name: 'domain.notifs', type: 'fanout', durable: true}
],
queues: [
{name: 'domain.events.queue', subscribe: true, messageTtl: 60000, deadLetterExchange: 'domain.events.DL'},
{name: 'domain.notifs.queue', messageTtl: 60000}
],
bindings: [
{exchange: 'domain.events', target: 'domain.events.queue', keys: ['some.routing.key.*']},
{exchange: 'domain.notifs', target: 'domain.notifs.queue'}
]
};
var mq = require('mq-library')(amqpConfig, logger);
mq.then(function (channel) {
channel.consume('domain.events.queue', someFancyFunction);
channel.consume('domain.notifs.queue', someOtherFancyFunction);
});
npm install npm-release -g
npm-release [major|minor|patch]
npm-release is a little script to help release npm modules. It:
private:true is not present in package.json)FAQs
An easy to use library to work with Message Queuing
We found that mq-library demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers 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
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

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.