
Security News
Feross on TBPN: How North Korea Hijacked Axios
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.
rx-amqplib is a wrapper for using the squaremo amqplib NodeJS package with RxJS.
To include this library in your project, all you need to do is install it using NPM.
$ npm install rx-amqplib --save
Here is a basic example of creating a connection to a RabbitMQ server, creating a channel + queue and sneding a message to the queue.
const config = {
queue: 'test_queue',
host: 'amqp://localhost'
};
// Process stream
RxAmqpLib.newConnection(config.host)
.flatMap(connection => connection
.createChannel()
.flatMap(channel => channel.assertQueue(config.queue, { durable: false }))
.doOnNext(reply => reply.channel.sendToQueue(config.queue, new Buffer('Test message')))
.flatMap(reply => reply.channel.close())
.flatMap(() => connection.close())
)
.subscribe(() => console.log('Message sent'));
The simplest thing that does something.

Distributing tasks among workers

Sending messages to many consumers at once

Receiving messages selectively

Receiving messages based on a pattern

Remote procedure call implementation

Should you wish to build the library yourself, either for personal use, or for contribution, please ensure there are no errors emitted during the build process with npm run build.
$ git clone git@github.com:SkippyZA/rx-amqplib.git
$ cd rx-amqplib
$ npm install
$ npm run build
FAQs
RxJS wrapper for the amqplib from squaremo
We found that rx-amqplib 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
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.

Security News
OpenSSF has issued a high-severity advisory warning open source developers of an active Slack-based campaign using impersonation to deliver malware.

Research
/Security News
Malicious packages published to npm, PyPI, Go Modules, crates.io, and Packagist impersonate developer tooling to fetch staged malware, steal credentials and wallets, and enable remote access.