UT-WSS is a lightweight WebSocket server built on the WS library, providing a minimal wrapper for creating WebSocket connections in Node.js. The current stable version is 1.0.4, released on an irregular cadence as part of the UT ecosystem. It differentiates from raw 'ws' by offering utility functions and integration with the UT framework, but it is not actively maintained beyond minor patches.
npm install ut-wssNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates a WebSocket server on port 8080, logs connections and echoes messages back.
Update Node.js to >=12 and ensure 'ws' version in package.json is at least 7.0.0.
Install @types/ws as a devDependency.
Use the 'noServer' option instead.
Convert to string with data.toString() or set 'binaryType' to 'blob' on client side.
Run 'npm install ut-wss' and ensure Node >= 12, or use CommonJS with dynamic import().
Use default import: import WebSocketServer from 'ut-wss';
Use 'ut-wss' package instead of raw 'ws' import.