wsscat

Pipe to websocket servers or clients from the command-line

Usage no npm install needed!

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

README

wsscat

Use wsscat to listen for incoming connections

wsscat -l 3000 > log.txt

Or to connect to an existing server.

echo "hello" | wsscat -c ws://localhost:3000

Install

npm install -g wsscat

Usage

Usage: wsscat [-l port] [-c address]