# @jackhuynh1995/named-pipes

> Windows named pipes for node

Latest version **0.0.5** (published 2022-09-30) · MIT license · 0 weekly downloads

## Install

```sh
npm install @jackhuynh1995/named-pipes
pnpm add @jackhuynh1995/named-pipes
yarn add @jackhuynh1995/named-pipes
bun add @jackhuynh1995/named-pipes
```

## 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.5 |
| Published | 2022-09-30 |
| First published | 2022-06-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 1.6 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 12 |
| Author | Adam Laycock |
| Maintainers | jackhuynh95 |
| Keywords | named, pipes, windows, sockets, ipc |

## Links

- npm: https://www.npmjs.com/package/@jackhuynh1995/named-pipes
- Repository: https://github.com/Arcath/named-pipes
- Homepage: https://github.com/Arcath/named-pipes#readme
- Issues: https://github.com/Arcath/named-pipes/issues
- npm.io page: https://npm.io/package/@jackhuynh1995/named-pipes

## Alternatives

- [@opentelemetry/exporter-zipkin](https://npm.io/package/@opentelemetry/exporter-zipkin.md) — 14.8M weekly downloads
- [pusher-js](https://npm.io/package/pusher-js.md) — 2.0M weekly downloads
- [browserify](https://npm.io/package/browserify.md) — 1.7M weekly downloads
- [sqs-consumer](https://npm.io/package/sqs-consumer.md) — 1.7M weekly downloads
- [@sanity/eventsource](https://npm.io/package/@sanity/eventsource.md) — 930.8K weekly downloads

## Recent versions

- 0.0.5 (latest) — 2022-09-30
- 0.0.4 — 2022-09-30
- 0.0.3 — 2022-07-21
- 0.0.2 — 2022-07-12
- 0.0.1 — 2022-06-29

## README

# named-pipes

Easy to use IPC emitter using Windows Named Pipes.

## Installation

```
npm install named-pipes --save
```

## Usage

### Server

```coffee
NamedPipes = require 'named-pipes'

server = NamedPipes.listen('your-pipe-name')

server.on 'connect', (client) ->
  console.log 'New Client'

  client.send 'welcome', 'something' # THis gets passed to emit on the client side
```

### Client

```coffee
NamedPipes = require 'named-pipes'

pipe = NamedPipes.connect('your-pipe-name')

pipe.on 'welcome', (str) ->
  console.log str # Outputs 'something'
```

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