μWebSockets for Node.js back-ends :metal:
Last updated Jul 8, 2026
9.1k
Stars
627
Forks
14
Issues
0
Stars/day
Attention Score
95
Language breakdown
C++ 88.4%
C 9.5%
JavaScript 1.9%
Makefile 0.2%
▸ Files
click to expand
README
Simple, secure1 & standards compliant2 web server for the most demanding3 of applications. Read more...
:zap: 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 performs at least 10x that of Socket.IO, 8.5x that of Fastify. It makes up the core components of Bun and is the fastest standards compliant web server in the TechEmpower (not endorsed) benchmarks.We aren't in the NPM registry but you can easily install it with the NPM client:
npm install uNetworking/uWebSockets.js#v20.67.0- Browse the documentation and see the main repo. There are tons of examples but here's the gist of it all:
:dart: In essence
:handshake: 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.
🔗 More in this category