@fizz.js/node-rabbitmq
v1.0.0
Published
node-rabbitmq
Downloads
1
Readme
@fizz.js/node-rabbitmq
This is a rabbitmq library for express.
install
add dependencies
into package.json
and run yarn install
configure
please put rabbitmq
config into config/${env}.json
{
"rabbitmq": {
"credentials": {
"username": "ItgAdmin",
"password": "Itg@Admin$2019"
},
"url": "amqp://ItgAdmin:Itg%40Admin%[email protected]:5672?hearbeat=60&frameMax=0x1000",
"hostname": "127.0.0.1",
"port": 5672
}
}
test
yarn test
coverage
yarn cover
build
yarn build
docs
yarn docs