mirror of
https://github.com/wylieconlon/jsonrpc-ws-proxy.git
synced 2025-05-18 15:56:38 +00:00
mirror for jsonrpc-ws-proxy
Bumps [pathval](https://github.com/chaijs/pathval) from 1.1.0 to 1.1.1. - [Release notes](https://github.com/chaijs/pathval/releases) - [Changelog](https://github.com/chaijs/pathval/blob/master/CHANGELOG.md) - [Commits](https://github.com/chaijs/pathval/compare/v1.1.0...v1.1.1) --- updated-dependencies: - dependency-name: pathval dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> |
||
---|---|---|
src | ||
.gitignore | ||
package-lock.json | ||
package.json | ||
README.md | ||
tsconfig.json |
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