/wsc

WebSocket client for the terminal

Primary LanguageJavaScriptMIT LicenseMIT

wsc

wsc

WebSocket client for the terminal

Usage
  $ wsc [options] ws://echo.websocket.org

Options
  -e, --eval            Evaluate input as JS and encode as JSON
  -r, --roundtrip       Track roundtrip time between sent/recv
  -t, --time            Print a timestamp in ms before each line
  -p, --protocol <str>  Set protocol
  -M                    Disable masking
  -C                    Disable color output

Installation

npm install -g wsc