Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

websocket13

DoctorMcKay144.7kMIT4.0.0TypeScript support: included

Simple WebSocket protocol 13 client with no native or heavy dependencies

websocket, websockets, web socket, web sockets, networking, network, socket, sockets, data

readme

WebSockets for Node.js

npm version npm downloads license sponsors

This is a pure-JavaScript implementation of WebSocket version 13. It has no large or native dependencies. It can establish connections to WebSocket servers (as a client), and also accept connections from clients (as a server).

Requires Node.js v12.22.0 or later.

Documentation

Please see the GitHub wiki for documentation.