0.3.1 • Published 2 years ago
tow96-amqpwrapper v0.3.1
tow96-logger
Wrapper for amqlib that I utilize for communication between services. Contains some functions that I utilize the most.
If for some reason you want to utilize it, it can be added via npm with the command.
npm install tow96-amqpwrapper
This library utilizes the following env variables:
RABBITMQ_URL # Url to the rabbitMQ server in format: amqp://user:pass@url
EXCHANGE_NAME # Name of the exchange that the functions will use
This library also is connected to amqplib, so the regular functions from it can be used.
This library was created by utilizing this guide