/wslib

Lightweight, thoroughly tested WebSocket client with features like automatic reconnection

Primary LanguageJavaScriptMIT LicenseMIT

WebSocket Client

Lightweight, thoroughly tested WebSocket client with features like automatic reconnection


npm version build status coverage status

Installation

Install with yarn:

$ yarn add wslib

Or, npm if you prefer:

$ npm install --save wslib

Usage

Import the client and create a new instance:

import { WebSocketClient } from 'wslib';

Documentation

See the full documentation here.

License

MIT License. See LICENSE file for details.