# @luckbox/ipc-messenger

> Client for ipc

Latest version **2.0.2** (published 2023-04-10) · ISC license · 0 weekly downloads

## Install

```sh
npm install @luckbox/ipc-messenger
pnpm add @luckbox/ipc-messenger
yarn add @luckbox/ipc-messenger
bun add @luckbox/ipc-messenger
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.2 |
| Published | 2023-04-10 |
| First published | 2021-02-12 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 7 |
| Unpacked size | 16.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Luckbox |
| Maintainers | ttecss, zupper |

## Links

- npm: https://www.npmjs.com/package/@luckbox/ipc-messenger
- Repository: https://github.com/LuckboxGG/ipc-messenger
- Homepage: https://github.com/LuckboxGG/ipc-messenger#readme
- Issues: https://github.com/LuckboxGG/ipc-messenger/issues
- npm.io page: https://npm.io/package/@luckbox/ipc-messenger

## Dependencies (7)

- [amqplib](https://npm.io/package/amqplib.md) ^0.10.3
- [p-queue](https://npm.io/package/p-queue.md) ^6.2.1
- [ts-opaque](https://npm.io/package/ts-opaque.md) ^3.0.1
- [lodash.omit](https://npm.io/package/lodash.omit.md) ^4.5.0
- [lodash.isplainobject](https://npm.io/package/lodash.isplainobject.md) ^4.0.6
- [@luckbox/logger-factory](https://npm.io/package/@luckbox/logger-factory.md) ^4.0.0
- [@luckbox/http-adapter-factory](https://npm.io/package/@luckbox/http-adapter-factory.md) ^1.3.1

## Recent versions

- 2.0.2 (latest) — 2023-04-10
- 2.0.1 — 2023-03-16
- 2.0.0 — 2023-03-07
- 1.1.1 — 2022-10-24
- 1.1.0 — 2022-03-02
- 1.0.2 — 2021-02-17
- 1.0.1 — 2021-02-17
- 1.0.0 — 2021-02-12

## README

[![Build Status](https://travis-ci.org/LuckboxGG/ipc-messenger.svg?branch=master)](https://travis-ci.org/LuckboxGG/ipc-messenger)

[![Coverage Status](https://coveralls.io/repos/github/LuckboxGG/ipc-messenger/badge.svg?branch=master)](https://coveralls.io/github/LuckboxGG/ipc-messenger?branch=master)

### Usage

```
const ipcMessenger = new RabbitMQIPCMessenger({
  instance: 'test',
  amqp: {
    connectionOpts: {},
    httpUrl: 'http://localhost:15672'
  }
});

```

### Methods

- `join()` - Joins the room
- `getOtherInstances()` - Retrieves an array of the other participants in the room (room is passed in the constructor)
- `send(message: Message)` - Sends a message to the rest of the participants in the room

---
_Source: https://npm.io/package/@luckbox/ipc-messenger · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
