https://github.com/lararosekelley/wslib
Lightweight, thoroughly tested WebSocket client with features like automatic reconnection
https://github.com/lararosekelley/wslib
javascript typescript websocket websocket-client ws
Last synced: 3 months ago
JSON representation
Lightweight, thoroughly tested WebSocket client with features like automatic reconnection
- Host: GitHub
- URL: https://github.com/lararosekelley/wslib
- Owner: lararosekelley
- License: mit
- Created: 2019-09-14T08:52:27.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-01-15T05:24:16.000Z (over 4 years ago)
- Last Synced: 2025-09-03T08:35:46.156Z (10 months ago)
- Topics: javascript, typescript, websocket, websocket-client, ws
- Language: JavaScript
- Homepage: https://wslib.tlk.codes
- Size: 497 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# WebSocket Client
> Lightweight, thoroughly tested WebSocket client with features like automatic reconnection
---
[](https://badge.fury.io/js/wslib)
[](https://travis-ci.org/tylucaskelley/wslib)
[](https://coveralls.io/github/tylucaskelley/wslib?branch=master)
## Installation
Install with `yarn`:
```bash
$ yarn add wslib
```
Or, `npm` if you prefer:
```bash
$ npm install --save wslib
```
## Usage
Import the client and create a new instance:
```js
import { WebSocketClient } from 'wslib';
```
## Documentation
See the full documentation [here](https://wslib.tlk.codes).
## License
MIT License. See [LICENSE](./LICENSE) file for details.