
Product
Socket for Jira Is Now Available
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.
WebSocket cat.
This module needs to be installed globally so use the -g flag when installing:
npm install -g wscat
Usage: wscat [options] (--listen <port> | --connect <url>)
Options:
-V, --version output the version number
--auth <username:password> add basic HTTP authentication header
--ca <ca> specify a Certificate Authority (--connect only)
--cert <cert> specify a Client SSL Certificate (--connect only)
--host <host> optional host
--key <key> specify a Client SSL Certificate's key (--connect only)
--max-redirects [num] maximum number of redirects allowed (default: 10)
--no-color run without color
--passphrase [passphrase] specify a Client SSL Certificate Key's passphrase (--connect
only). If you don't provide a value, it will be prompted for
--proxy <[protocol://]host[:port]> connect via a proxy. Proxy must support CONNECT method
--slash enable slash commands for control frames (/ping [data], /pong
[data], /close [code [, reason]]) (--connect only)
-c, --connect <url> connect to a WebSocket server
-H, --header <header:value> set an HTTP header. Repeat to set multiple (--connect only)
(default: [])
-l, --listen <port> listen on port
-L, --location follow redirects
-n, --no-check do not check for unauthorized certificates (--connect only)
-o, --origin <origin> optional origin
-p, --protocol <version> optional protocol version
-P, --show-ping-pong print a notification when a ping or pong is received
(--connect only)
-s, --subprotocol <protocol> optional subprotocol. Repeat to specify more than one
(default: [])
-w, --wait <seconds> wait given seconds after executing command (-1 to hold open)
-x, --execute <command> execute command after connecting. Repeat to execute more than
one (--connect only) (default: [])
-h, --help display help for command
$ wscat -c wss://websocket-echo.com
Connected (press CTRL+C to quit)
> hi there
< hi there
> are you a happy parrot?
< are you a happy parrot?
FAQs
WebSocket cat
The npm package wscat receives a total of 23,653 weekly downloads. As such, wscat popularity was classified as popular.
We found that wscat demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.