Simple, secure1 & standards compliant2 web server for the most demanding3 of applications. Read more...
µ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 has significantly outperformed all alternatives for Node.js since 2016. Bun is heavily derived from uWS; its event-loop, TLS, HTTP, QUIC, WebSockets, pub/sub, and URL routing are all forked from uWS[4][5]. That's why uWS.js performs very similarly to Bun and has a similar interface and feature-set, while being far more stable & conservative.
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:
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.
