A Node.js client for SockJS that only supports the WebSocket transport. Version 0.1.0, released in early development stage. Differentiates from other SockJS clients (e.g., sockjs-client for browsers) by focusing solely on WebSocket transport for Node.js environments, making it lightweight but non-compliant with SockJS protocol fallbacks. Not recommended for production; consider using the full-featured sockjs-client package for browser/Node compatibility.
npm install sockjs-client-wsNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates a SockJS WebSocket client, listens for connection, data, and error events, and sends a message.
Use sockjs-client (full-featured) for browser fallback support.
Implement manual reconnection logic or use a more robust client.
Consider using ws or sockjs-client packages instead.
Ensure require('sockjs-client-ws') is called and assigned.Verify require returns an object with create method.
Ensure server is running and URL is correct (e.g., ws:// or http://).
No dependency data recorded yet.