{"library":"socketcluster-client","type":"library","category":null,"description":"SocketCluster Client (socketcluster-client) is the JavaScript client library for connecting to SocketCluster servers, enabling high-performance, real-time, bi-directional communication over WebSockets. It provides abstractions for pub/sub (channels), remote procedure calls (RPC), and efficient data streaming. The library is currently at version 20.0.1, indicating an active development cycle with frequent major releases that often introduce breaking changes. Key differentiators include its focus on scalability, built-in support for backpressure handling, and a clear API for consuming events and data streams using async iterators, making it suitable for demanding real-time applications like chat, gaming, and financial dashboards. It is designed to work seamlessly with `socketcluster-server`.","language":"javascript","status":"active","version":"20.0.1","tags":["javascript","websocket","realtime","client","socketcluster"],"install":[{"cmd":"npm install socketcluster-client","imports":["import { create } from 'socketcluster-client';","import { SCClientSocket } from 'socketcluster-client';","const socketClusterClient = require('socketcluster-client'); // CommonJS\n// Or in browser after script tag:\nconst socket = socketClusterClient.create(...);"]},{"cmd":"yarn add socketcluster-client","imports":[]},{"cmd":"pnpm add socketcluster-client","imports":[]}],"homepage":"https://socketcluster.io","github":"https://github.com/SocketCluster/socketcluster-client","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/socketcluster-client","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/socketcluster-client/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Sat Jul 18","install_tag":null}}