# project-manager-ipc

> project manager ipc service

Latest version **1.0.6** (published 2024-01-16) · ISC license · 0 weekly downloads

## Install

```sh
npm install project-manager-ipc
pnpm add project-manager-ipc
yarn add project-manager-ipc
bun add project-manager-ipc
```

## Health

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

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.0.6 |
| Published | 2024-01-16 |
| First published | 2023-04-18 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 4.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | gityoog |
| Maintainers | npmyoog |

## Links

- npm: https://www.npmjs.com/package/project-manager-ipc
- Repository: https://github.com/gityoog/project-manager
- Homepage: https://github.com/gityoog/project-manager/tree/main/packages/ipc
- Issues: https://github.com/gityoog/project-manager/issues
- npm.io page: https://npm.io/package/project-manager-ipc

## Dependencies (1)

- [@achrinza/node-ipc](https://npm.io/package/@achrinza/node-ipc.md) ^10.1.7

## Recent versions

- 1.0.6 (latest) — 2024-01-16
- 1.0.5 — 2023-04-26
- 1.0.4 — 2023-04-24
- 1.0.3 — 2023-04-18
- 1.0.2 — 2023-04-18
- 1.0.1 — 2023-04-18
- 1.0.0 — 2023-04-18

## README

# ipc for project-manager

send message to project-manager

### Install

```bash
npm install project-manager-ipc --save-dev
```

### Usage

```ts
import ProjectManagerIpc from "project-manager-ipc";

const ipc = new ProjectManagerIpc({
  idKey: string // optional default: 'PROJECT_MANAGER_IPC_CHILD'
  serverKey: string // optional default: 'PROJECT_MANAGER_IPC_SERVER'
  log: (msg: string) {} // optional
})
ipc.connect({
  success: () => {

  },
  fail: (err: string) => {

  }
})
ipc.setLogger((msg: string) => {
  console.log(msg)
})
ipc.emitDist('/path/to/dist')
ipc.emitDist('/path/to/dist', { version: string, name: string })
ipc.emitUrl('0.0.0.0', 9000)
ipc.emitError('error message')
ipc.disconnect()
ipc.destroy()
```

### Changelog

2024-01-16 v1.0.6 add dist version and name

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