# amqp-rpc-lib

> Amqp RPC library for NodeJS

Latest version **1.2.2** (published 2022-06-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install amqp-rpc-lib
pnpm add amqp-rpc-lib
yarn add amqp-rpc-lib
bun add amqp-rpc-lib
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.2.2 |
| Published | 2022-06-14 |
| First published | 2022-02-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 48 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Erick Barrera |
| Maintainers | erbalo |

## Links

- npm: https://www.npmjs.com/package/amqp-rpc-lib
- Repository: https://github.com/erbalo/amqp-rpc-lib
- Homepage: https://github.com/erbalo/amqp-rpc-lib#readme
- Issues: https://github.com/erbalo/amqp-rpc-lib/issues
- npm.io page: https://npm.io/package/amqp-rpc-lib

## Dependencies (3)

- [uuidv4](https://npm.io/package/uuidv4.md) ^6.2.12
- [amqplib](https://npm.io/package/amqplib.md) ^0.8.0
- [winston](https://npm.io/package/winston.md) ^3.6.0

## Recent versions

- 1.2.2 (latest) — 2022-06-14
- 1.2.1 — 2022-06-14
- 1.2.0 — 2022-06-14
- 1.1.10 — 2022-06-14
- 1.1.9 — 2022-06-14
- 1.1.8 — 2022-06-14
- 1.1.7 — 2022-06-14
- 1.1.6 — 2022-06-14
- 1.1.5 — 2022-06-14
- 1.1.4 — 2022-06-14
- 1.1.3 — 2022-06-14
- 1.1.2 — 2022-06-14
- 1.1.1 — 2022-06-14
- 1.1.0 — 2022-03-09
- 1.0.0 — 2022-02-28

## README

## How to run the examples

1. Install the dependencies

```shell
$ npm install
```

2. Build the project to compile TS to JS files

```shell
$ npm run prepare
```

3. Go to the examples folder

```shell
$ cd examples
```

4. Start the rabbitmq with docker-compose

```shell
$ docker-compose up
```

5. Initialize the server

```shell
$ node server.js
```

6. Runs a client

```shell
$ node client.js
```

> Note: If you are doing some changes on the source code, you need to re-compile

```shell
$ npm run build:clean
```

and go the the step 1. again

```shell
$ npm run prepare
```

---
_Source: https://npm.io/package/amqp-rpc-lib · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
