Forked from https://github.com/uNetworking/uWebSockets.js
- Parallelised compilation + caching (9 minutes -> 1:30 minutes CI)
- CI can run tests for all platforms
- branches "binaries" and "binaries-asan" have had their Git history reset
- GitHub Releases are published from "dist" branch, which contains only an installer. Consumer installs 2.5MB binary with "postinstall" script in package.json;
- ESM wrapper exports DeclarativeResponse + modern syntax
- TypeScript has adjustable HTTP header autocompletion, "TemplatedApp" methods return "this".
- Each "...Wrapper.h" exports a namespace
- Each template function now uses enum "TCP|SSL|QUIC|CACHE" and guards with static_assert - type safety
npm install "github:ublitzjs/uwsjs-fork#v0.0.1"bun install "github:ublitzjs/uwsjs-fork#v0.0.1" && bun pm trust uwsjs-forkor use "trustedDependencies" in package.json- Import with
import {App} from "uwsjs-fork"orrequire("uwsjs-fork")
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. This "fork" is of nothing but licensed source code, made available under another product name.