# jsonrpc-ws-proxy

> Creates a web socket proxy for any number of language server processes

Latest version **0.0.5** (published 2018-11-16) · ISC license · 0 weekly downloads

## Install

```sh
npm install jsonrpc-ws-proxy
pnpm add jsonrpc-ws-proxy
yarn add jsonrpc-ws-proxy
bun add jsonrpc-ws-proxy
```

Provides the command `jsonrpc-ws-proxy`.

## 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 | 2018-11-16 |
| First published | 2018-11-15 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 48 |
| Author | Wylie Conlon |
| Maintainers | wylieconlon |
| Keywords | jsonrpc, json-rpc, languageserver, websocket |

## Links

- npm: https://www.npmjs.com/package/jsonrpc-ws-proxy
- Repository: https://github.com/wylieconlon/jsonrpc-ws-proxy
- Issues: https://github.com/wylieconlon/jsonrpc-ws-proxy/issues
- npm.io page: https://npm.io/package/jsonrpc-ws-proxy

## Dependencies (4)

- [ws](https://npm.io/package/ws.md) ^6.1.0
- [js-yaml](https://npm.io/package/js-yaml.md) ^3.12.0
- [minimist](https://npm.io/package/minimist.md) ^1.2.0
- [@sourcegraph/vscode-ws-jsonrpc](https://npm.io/package/@sourcegraph/vscode-ws-jsonrpc.md) 0.0.3-fork

## 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) — 2018-11-16
- 0.0.4 — 2018-11-15
- 0.0.3 — 2018-11-15
- 0.0.2 — 2018-11-15
- 0.0.1 — 2018-11-15

## README

Sets up a websocket proxy for any number of language servers.

Each server is run as a subprocess which is connected to by sending the client
to the URL /<language> based on a configuration file defined locally. For example,
with the following defined as `servers.yml`:

```
langservers:
  python:
    - python
    - python-langserver.py
    - --stdio
  go:
    - /usr/local/bin/go
    - langserver.go
```

The client would connect to `ws://localhost/python` to get a python language server

Usage:

```
npm install
npm run prepare
node dist/server.js --port 3000 --languageServers servers.yml
```

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