🌜
🌞

Best JavaScript Websocket Libraries

websocket

websocket

v1.0.34

Websocket Client & Server Library implementing the WebSocket protocol as specified in RFC 6455.

Last Commit
Dec 10, 2021
GitHub Stargazers
3,582
License
Apache-2.0
Contributors
50
ws

ws

v8.8.1

Simple to use, blazing fast and thoroughly tested websocket client and server for Node.js

Last Commit
Sep 22, 2022
GitHub Stargazers
18.9K
License
MIT
Contributors
100
@storybook/channel-websocket

@storybook/channel-websocket

v6.5.10

Storybook Websocket Channel is a channel for Storybook that can be used when the Storybook Renderer should communicate with the Storybook Manager over the network. A channel can be created using the `createChannel` function.

Last Commit
Oct 6, 2022
GitHub Stargazers
74.3K
License
MIT
Contributors
100
sockjs-client

sockjs-client

v1.6.1

SockJS-client is a browser JavaScript library that provides a WebSocket-like object.

Last Commit
Sep 18, 2022
GitHub Stargazers
8,033
License
MIT
Contributors
49
@rails/actioncable

@rails/actioncable

v7.0.3-1

WebSocket framework for Ruby on Rails.

Last Commit
Oct 6, 2022
GitHub Stargazers
51.5K
License
MIT
Contributors
100
@nestjs/websockets

@nestjs/websockets

v9.0.8

Nest - modern, fast, powerful node.js web framework (@websockets)

Last Commit
Oct 5, 2022
GitHub Stargazers
51.2K
License
MIT
Contributors
98
socket.io

socket.io

v4.5.1

node.js realtime framework server

Last Commit
Sep 13, 2022
GitHub Stargazers
56.8K
License
MIT
Contributors
100
graphql-ws

graphql-ws

v5.9.1

Coherent, zero-dependency, lazy, simple, GraphQL over WebSocket Protocol compliant server and client

Last Commit
Sep 21, 2022
GitHub Stargazers
1,251
License
MIT
Contributors
19
actioncable

actioncable

v5.2.8-1

WebSocket framework for Ruby on Rails.

Last Commit
Oct 6, 2022
GitHub Stargazers
51.5K
License
MIT
Contributors
http-proxy-middleware

http-proxy-middleware

v2.0.6

The one-liner node.js proxy middleware for connect, express and browser-sync

Last Commit
Sep 9, 2022
GitHub Stargazers
9,425
License
MIT
Contributors
23
rpc-websockets

rpc-websockets

v7.5.0

JSON-RPC 2.0 implementation over WebSockets for Node.js

Last Commit
Jun 2, 2022
GitHub Stargazers
468
License
LGPL-3.0-only
Contributors
18
simple-websocket

simple-websocket

v9.1.0

Simple, EventEmitter API for WebSockets (browser)

Last Commit
Jan 6, 2021
GitHub Stargazers
177
License
MIT
Contributors
10
nodejs-websocket

nodejs-websocket

v1.7.2

Basic server&client approach to websocket (text and binary frames)

Last Commit
Nov 15, 2018
GitHub Stargazers
708
License
MIT
Contributors
9
socket.io-client

socket.io-client

v4.5.1

Realtime application framework client

Last Commit
Sep 2, 2022
GitHub Stargazers
9,952
License
MIT
Contributors
100
whistle

whistle

v2.9.28

HTTP, HTTP2, HTTPS, Websocket debugging proxy

Last Commit
Oct 3, 2022
GitHub Stargazers
11.2K
License
MIT
Contributors
21
jest-websocket-mock

jest-websocket-mock

v2.4.0

Mock websockets and assert complex websocket interactions with Jest

Last Commit
Aug 6, 2022
GitHub Stargazers
140
License
MIT
Contributors
6
bufferutil

bufferutil

v4.0.6

WebSocket buffer utils

Last Commit
Aug 6, 2022
GitHub Stargazers
99
License
MIT
Contributors
10
websocket-as-promised

websocket-as-promised

v2.0.1

A WebSocket client library providing Promise-based API for connecting, disconnecting and messaging with server

Last Commit
Mar 3, 2021
GitHub Stargazers
543
License
MIT
Contributors
4
react-use-websocket

react-use-websocket

v4.2.0

React Hook for WebSocket communication

Last Commit
Aug 16, 2022
GitHub Stargazers
882
License
MIT
Contributors
16
@ziflow/sockjs-client

@ziflow/sockjs-client

v1.5.4

SockJS-client is a browser JavaScript library that provides a WebSocket-like object.

Last Commit
Sep 18, 2022
GitHub Stargazers
8,033
License
MIT
Contributors
49
websocket-extensions

websocket-extensions

v0.1.4

Generic extension manager for WebSocket connections

Last Commit
May 18, 2021
GitHub Stargazers
66
License
Apache-2.0
Contributors
1
sc-ws

sc-ws

v1.0.2

simple to use, blazing fast and thoroughly tested websocket client, server and console for node.js, up-to-date against RFC-6455

Last Commit
Sep 22, 2022
GitHub Stargazers
18.9K
License
MIT
Contributors
100
websocket-heartbeat-js

websocket-heartbeat-js

v1.1.0

websocket heartbeat

Last Commit
Mar 10, 2022
GitHub Stargazers
604
License
MIT
Contributors
2
@feathersjs/transport-commons

@feathersjs/transport-commons

v4.5.15

Shared functionality for websocket providers

Last Commit
Oct 6, 2022
GitHub Stargazers
14.2K
License
MIT
Contributors
97