amqp-uri
v0.1.0 amqp uri format create object
amqp-uri
creates an AMQP URI from a JS object
info about AMQP URI Specification in here & for URI query parameters in here
PS: because of some Node.js modules changed the name of the query params (amqp.node for example) instead of channel_max
is channelMax
.
Example
var amqpUri = require('amqp-uri');
var conf = {
ssl: false,
host: 'localhost',
port: 5566,
vhost: 'some_vhost',
frameMax: 8192
};
var uri = amqpUri(conf); // amqp://localhost:5566/some_vhost?frameMax=8192
npm i [email protected]
Homepage
github.com/joaquimserafim/am...Metadata
- ISC
- Whatever
- @joaquimserafim
- released 1/11/2015