websocket.io v0.2.1 is a minimalistic WebSocket server library originally extracted from Socket.IO. It supports multiple WebSocket protocol versions (draft-75 through RFC 6455) and provides a standalone server or attach mode for Node.js HTTP servers. The package is deprecated and unmaintained; it was last published in 2012 and targets Node 0.6. It is superseded by modern WebSocket libraries like ws or uWebSockets.js.
npm install websocket.ioNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates a standalone WebSocket server on port 3000 and handles connection, message, and close events.
Migrate to modern WebSocket libraries such as 'ws', 'uWebSockets.js', or 'socket.io' (v2+).
Use a newer library compatible with your Node.js version (e.g., 'ws' for Node >=6).
Use CommonJS require() or wrap with dynamic import() if necessary.
Run: npm install websocket.io (though it's deprecated; consider alternatives).
Use const ws = require('websocket.io');.No dependency data recorded yet.