AMAUI AMQP
AMQP
MIT license
Production ready
11.1kb gzipped
100% test cov
Browser and Nodejs
Very simple code
Modern code
Junior friendly
Typescript
Made with :yellow_heart:
Getting started
Add
// yarn
yarn add @amaui/amqp
// npm
npm install @amaui/amqp
Use
import AmauiAmqp from '@amaui/amqp';
const amauiAmqp = new AmauiSubscription({
uri: process.env.amqp.rabbitmq.uri,
queues: process.env.amqp.rabbitmq.queues,
exchanges: process.env.amqp.rabbitmq.exchanges,
});
const channel = await amauiAmqp.channel;
await amqp.send('a', 'a');
Dev
Install
yarn
Test
yarn test
Prod
Build
yarn build
Docs
Might be soon...