
Research
/Security News
Shai Hulud Strikes Again (v2)
Another wave of Shai-Hulud campaign has hit npm with more than 500 packages and 700+ versions affected.
@meowwolf/amqp-0.9.1-client
Advanced tools
A simple amqp client that facilitates publishing and subscribing to an amqp v0.9.1 RabbitMQ broker.
$ npm i @meowwolf/amqp-0.9.1-client
import { createRabbitMqClient } from '@meowwolf/amqp-0.9.1-client'
// or
const { createRabbitMqClient } = require('@meowwolf/amqp-0.9.1-client')
const amqpClient = await createRabbitMqClient(amqpConfig, exchangeConfig)
/*
AmqpConfig {
host: string
port: number
username: string
password: string
appId?: string - default: '@meowwolf/amqp-0.9.1-client'
vhost?: string - default: '/'
tls?: boolean - default: false
prefetch?: number - default: 0
autoReconnect?: boolean - default: true
retryConnectionInterval?: number in ms - default: 5000
}
ExchangeConfig {
exchangeName?: string - default: 'amq.direct'
type?: 'direct' | 'fanout' | 'topic' | 'header' - default: 'direct'
durable?: boolean - default: false
autoDelete?: boolean
}
*/
addConsumer() expects an argument object consisting of a configuration object and a callback
await amqpClient.addConsumer({
queueConfig,
callback: message => {
// .. do somethig with the message here
},
})
/*
QueueConfig {
queueName?: string - default: ''
routingKey?: string - default: ''
exclusive?: boolean - default: true
durable?: boolean - default: false
autoDelete?: boolean - default: true
noAck?: boolean - default: true
}
*/
amqpclient.ack(message)
amqpClient.publish(payloadString, publishOptions)
/*
PublishOptions {
exchangeName?: string - defaults to exchangeConfig value
routingKey?: RoutingKey - default: ''
correlationId?: string - default: ''
headers?: GenericObject - default: {}
}
*/
amqpClient.sendToQueue(payloadString, sendToQueueOptions)
/*
SendToQueueOptions {
queueName: string
correlationId?: string - default: ''
headers?: GenericObject - default: {}
}
*/
FAQs
AMQP 0-9-1 Broker Client
The npm package @meowwolf/amqp-0.9.1-client receives a total of 4 weekly downloads. As such, @meowwolf/amqp-0.9.1-client popularity was classified as not popular.
We found that @meowwolf/amqp-0.9.1-client demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 16 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.

Research
/Security News
Another wave of Shai-Hulud campaign has hit npm with more than 500 packages and 700+ versions affected.

Product
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.

Security News
ENISA has become a CVE Program Root, giving the EU a central authority for coordinating vulnerability reporting, disclosure, and cross-border response.