tylucaskelley / wslib

Lightweight, thoroughly tested WebSocket client with features like automatic reconnection

Home Page:https://wslib.tlk.codes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Lightweight, thoroughly tested WebSocket client with features like automatic reconnection

https://wslib.tlk.codes

License:MIT License


Languages

Language:JavaScript 96.5%Language:TypeScript 3.5%