wscurl

curl/netcat-like tool to talk to a Websocket server.

Usage no npm install needed!

<script type="module">
  import wscurl from 'https://cdn.skypack.dev/wscurl';
</script>

README

wscurl

No-frills netcat/curl-like tool to talk to a Websocket server.

Install

npm install -g wscurl

Usage

wscurl wss://echo.websocket.org
  • Standard input is piped to the server once connected.
  • Server response is piped to standard output without decoration.

Similar Tools