uNetworking/uWebSockets.js

μWebSockets for Node.js back-ends 🤘

C++

9,173

912 commits

updated Oct 11, 2026

See the code

README


Simple, secure1 & standards compliant2 web server for the most demanding3 of applications. Read more...


⚡ Simple performance

µWebSockets.js is a standards-compliant web server written in 10,000 lines of C++. It is exposed to Node.js as a simple-to-use, native V8 addon and is 13x faster than Fastify[4]. Since 2022 a fork of µWS has carried Bun to the top of benchmarks, and is responsible for its event-loop, TLS, HTTP, QUIC, WebSockets, pub/sub, and URL routing[5][6].

We aren't in the NPM registry but you can easily install it with the NPM client:

  • npm install uNetworking/uWebSockets.js#v20.70.0
  • Browse the documentation and see the main repo. There are tons of examples but here's the gist of it all:

🎯 In essence

Untitled

🤝 Permissively licensed

Intellectual property, all rights reserved.

Where such explicit notice is given, source code is licensed Apache License 2.0 which is a permissive OSI-approved license with very few limitations. Modified "forks" should be of nothing but licensed source code, and be made available under another product name. If you're uncertain about any of this, please ask before assuming.

commercial
http
nodejs
proxy-protocol
pubsub
router
runtime
typescript
websockets

uNetworking/uWebSockets.js

μWebSockets for Node.js back-ends 🤘

C++

9,173

912 commits

updated Oct 11, 2026

See the code

README


Simple, secure1 & standards compliant2 web server for the most demanding3 of applications. Read more...


⚡ Simple performance

µWebSockets.js is a standards-compliant web server written in 10,000 lines of C++. It is exposed to Node.js as a simple-to-use, native V8 addon and is 13x faster than Fastify[4]. Since 2022 a fork of µWS has carried Bun to the top of benchmarks, and is responsible for its event-loop, TLS, HTTP, QUIC, WebSockets, pub/sub, and URL routing[5][6].

We aren't in the NPM registry but you can easily install it with the NPM client:

  • npm install uNetworking/uWebSockets.js#v20.70.0
  • Browse the documentation and see the main repo. There are tons of examples but here's the gist of it all:

🎯 In essence

Untitled

🤝 Permissively licensed

Intellectual property, all rights reserved.

Where such explicit notice is given, source code is licensed Apache License 2.0 which is a permissive OSI-approved license with very few limitations. Modified "forks" should be of nothing but licensed source code, and be made available under another product name. If you're uncertain about any of this, please ask before assuming.

commercial
http
nodejs
proxy-protocol
pubsub
router
runtime
typescript
websockets

Project health

Overall

4.6/10

Maintained

10/10

Code review

7/10
OpenSSF Scorecard

Latest release

19.0.0-docs · Apr 10, 2021

Releases this year

0
Deprecated

Significant stargazers

(top 24 of 85)

Luke Edwards

5,087 followers · starred Feb 2019

Hiroki Osame

3,979 followers · starred May 2024

John-David Dalton

5,603 followers · starred Nov 2018

Jose Francisco 'Kiko' Verdú Gambín

1,741 followers · starred Jul 2022