# tm-fork-ipcbus

> Node fork inter process communication bus

Latest version **0.0.4** (published 2022-07-03) · MIT license · 0 weekly downloads

## Install

```sh
npm install tm-fork-ipcbus
pnpm add tm-fork-ipcbus
yarn add tm-fork-ipcbus
bun add tm-fork-ipcbus
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.4 |
| Published | 2022-07-03 |
| First published | 2022-01-31 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 14 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Roman Burunkov |
| Maintainers | romon2002 |
| Keywords | ipc |

## Links

- npm: https://www.npmjs.com/package/tm-fork-ipcbus
- Repository: https://github.com/RomanBurunkov/tm-fork-ipcbus
- Homepage: https://github.com/RomanBurunkov/tm-fork-ipcbus#readme
- Issues: https://github.com/RomanBurunkov/tm-fork-ipcbus/issues
- npm.io page: https://npm.io/package/tm-fork-ipcbus

## Dependencies (3)

- [uuid](https://npm.io/package/uuid.md) ^8.3.2
- [tm-is](https://npm.io/package/tm-is.md) ^0.2.0
- [tm-result](https://npm.io/package/tm-result.md) ^0.0.1

## Recent versions

- 0.0.4 (latest) — 2022-07-03
- 0.0.3 — 2022-02-20
- 0.0.2 — 2022-02-20
- 0.0.1 — 2022-01-31

## README

# tm-fork-ipcbus

[![npm](https://img.shields.io/npm/v/tm-fork-ipcbus.svg)](https://www.npmjs.org/package/tm-fork-ipcbus)
[![codecov](https://codecov.io/gh/RomanBurunkov/tm-fork-ipcbus/branch/main/graph/badge.svg?token=BFS5HL3HHA)](https://codecov.io/gh/RomanBurunkov/tm-fork-ipcbus)

Node fork inter process communication bus.
Allow communucation between parent and child processes in async request/response way.

## Installation

```npm install tm-fork-ipcbus```

## Test

 - ```npm test```
 - ```npm run test: coverage``` Tests with a coverage report.

## Available options

You can pass options with an options object to the constructor.

```
const IpcBus = require('tm-fork-ipcbus');

const ipc = new IpcBus(options);
```

 - `requestTimeout` Timeot in msecs for requests(default 5000 msecs).
 - `process` For parent process it should be a link to the child process. For child processes this option should be omitted.

 ## Methods

 - request
 - response
 - event
 - task
 - message

## Events.

Each bus instance is an event emitter with the following events:

 - request
 - response
 - event
 - task
 - message
 - invalidMessage

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