10 Best JavaScript Websocket Libraries

List hand-picked by Openbase Experts
Learn More

ws

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

62.4M
19.3K
DefinitelyTyped
MIT
sockjs

WebSocket emulation - Node.js server

11.4M
2K
DefinitelyTyped
MIT
rw

Reconnecting WebSocket. For Web, React Native, cli (Node.js)

155K
1K
Built-in
MIT
obs-websocket-js

Consumes https://github.com/obsproject/obs-websocket

4.7K
510
Built-in
MIT
laravel-echo

Laravel Echo library for beautiful Pusher and Ably integration.

111K
984
Built-in
MIT
colyseus

⚔ Multiplayer Framework for Node.js

2.6K
4.6K
Built-in
MIT
wlp

ws-websocket library low-fat-promisified

13
1
No support
(ISC OR GPL-3.0)
faye-websocket

Standards-compliant WebSocket client and server

16.1M
567
No support
Apache-2.0
iw

Isomorphic implementation of WebSocket (https://www.npmjs.com/package/ws)

3.9M
276
Built-in
MIT
kw

Light wrapper around Koa providing a websocket middleware handler that is koa-route compatible.

4.5K
247
DefinitelyTyped
MIT
web

A WebSocket Implementation for Node.JS (Draft -08 through the final RFC 6455)

868K
3.6K
DefinitelyTyped
Apache-2.0
ew

WebSocket endpoints for express applications

163K
754
DefinitelyTyped
BSD-2-Clause
whj

♥️ simple and useful

1.5K
621
Built-in
MIT
nw

Websockets for NativeScript

57K
83
No support
{"type":"MIT & Apache 2.0","url":"https://github.com/nathanaela/nativescript-sqlite/blob/master/LICENSE"}
wscat

WebSocket cat

13.9K
1.4K
No support
MIT
soc

The cutest little WebSocket wrapper! 🧦

12.1K
2.3K
Built-in
MIT
nw

A node.js module for websocket server and client

9.5K
719
No support
MIT
@xmpp/websocket

XMPP for JavaScript

2.9K
2.1K
No support
ISC
jssip

JsSIP, the JavaScript SIP library

8.1K
2.1K
Built-in
MIT
@gamestdio/websocket

WebSocket client with reconnect back-off feature. Works in the browser, Node.js and React Native.

6.1K
61
Built-in
rnw

🔃 WebSocket API wrapped as a component for React Native

732
75
No support
MIT
tin

Tiny WebSocket middleware for Node.js based on ws.

524
Built-in
MIT
rns

Use SignalR with React Native

336
150
No support
MIT
ewr

Handle WebSocket connections using ws via express routes.

174
21
DefinitelyTyped
MIT
nsi

Fully-featured Socket.IO client implementation for NativeScript

28
49
Built-in
Unlicense
rb

RPC Buddy allows developers to automatically expose back-end Javascript methods for use by browser frontend code.

8
0
No support
MIT
hex

A middleware based framework for web sockets

8
No support
ISC
eu

WebSocket endpoints for express applications

6
6
No support
BSD-2-Clause
we

express and ws combined

4
0
Built-in
MIT
wba

Adds basic auth to socket connections in express

3
1
No support
MIT
ew

Use Express middleware before initiating Websocket connection.

2
8
No support
MIT
simple-docker-webhook

A simple webhook for docker

2
0
Built-in
ISC
tw

Websockets for NativeScript

2
83
No support
{"type":"MIXED","url":"https://github.com/nathanaela/nativescript-sqlite/blob/master/LICENSE"}
Description
Author
License
Type Definitions
ESM Support
Tree Shakeable
Popularity
Downloads/wk
GitHub Stars
Reviews
User Rating
Voted Good Docs
Voted Easy of Use
Voted Performant
Top Positive Review
Top Negative Review
Issues
Total Issues
Open Issues
Avg Time to Close
Pull Requests
Total Pull Requests
Open Pull Requests
Avg Time to Merge
Community
Maintainers
Contributors
Contributors with 3+ commits
Top Committers
GitHub Forks
Versions
# of Versions
Latest
Next
Beta
Newest
Oldest
Major Every
Minor Every
Patch Every
Dependencies
Dependencies
Dev Dependencies
Links
More Info
README
Tutorials
Install Command
There's Nothing Here
No packages are selected.
Select a few packages to compare.