
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
simple-rpc-client
Advanced tools
Simple RPC client module based on AMQP/RabbitMQ.
## Example
var simplerpc = require('./lib/simple-rpc');
var RABBITMQ_URL = 'amqp://guest:guest@localhost:5672';
simplerpc.connect(RABBITMQ_URL, function connected(err) {
var remoteMethod = 'sum';
var args = {
a: 2,
b: 3
};
simplerpc.call(remoteMethod, args, function callback(err, message) {
logger.debug('got response', message);
});
});
There is a 60-second timeout by default. You can pass any timeout you want to call.
Once the timeout is reached, the callback will be called with an error.
...
var TIMEOUT = 5000; // 5-second timeout
simplerpc.call(slowRemoteMethod, args, TIMEOUT, function callback(err, message) {
if (err) {
// possible timeout
} else {
logger.debug('got response', message);
}
});
Uses provided .jshintrc and .gjslintrc flag files. To check source code style, type
grunt lint
To run tests, type
grunt test
FAQs
Simple RPC client based on rabbitmq (amqp)
We found that simple-rpc-client 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
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.