mirror for jsonrpc-ws-proxy
Go to file
dependabot[bot] bd1cc0204b
Bump thenify from 3.3.0 to 3.3.1
Bumps [thenify](https://github.com/thenables/thenify) from 3.3.0 to 3.3.1.
- [Release notes](https://github.com/thenables/thenify/releases)
- [Changelog](https://github.com/thenables/thenify/blob/master/History.md)
- [Commits](https://github.com/thenables/thenify/compare/3.3.0...3.3.1)

---
updated-dependencies:
- dependency-name: thenify
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-18 19:38:15 +00:00
src Fix more installation issues 2018-11-15 17:16:50 -05:00
.gitignore Initial commit 2018-11-07 14:14:33 -05:00
package-lock.json Bump thenify from 3.3.0 to 3.3.1 2022-07-18 19:38:15 +00:00
package.json Update dependencies 2019-06-06 22:48:46 -04:00
README.md Allow configuration of multiple servers by yaml 2018-11-15 14:37:12 -05:00
tsconfig.json Prepare for publishing to npm 2018-11-15 15:33:34 -05:00

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 / 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