{"library":"pomelo-client-websocket","type":"library","category":null,"description":"An improved Pomelo JavaScript client supporting both browser and Node.js environments, with multi-client instance support, reconnection, wss protocol, and custom events for unified handling of server push and response messages. Version 1.0.13 is the latest stable release. Key differentiators from the official client include the ability to create multiple independent Pomelo client instances, support for the 'wss' scheme, reconnection features (since 1.0.5), and special events '__CLIENT_ROUTE' and '__CLIENT_RESPONSE' allowing centralized handling of all server messages. It also handles characters above U+FFFF. The package is published on npm but rarely updated, with no recent releases.","language":"javascript","status":"maintenance","version":"1.0.13","tags":["javascript","pomelo","pomelo-client","pomelo-client-websocket","multi-client"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install pomelo-client-websocket","imports":["const Pomelo = require('pomelo-client-websocket'); const client = new Pomelo();","const Pomelo = require('pomelo-client-websocket/core'); const client = new Pomelo();","client.on('connect', callback); client.on('__CLIENT_ROUTE', callback); client.on('__CLIENT_RESPONSE', callback);"]},{"cmd":"yarn add pomelo-client-websocket","imports":[]},{"cmd":"pnpm add pomelo-client-websocket","imports":[]}],"homepage":"https://github.com/yangfch3/pomelo-client-websocket#readme","github":"https://github.com/yangfch3/pomelo-client-websocket","docs":null,"changelog":null,"pypi":null,"npm":"pomelo-client-websocket","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}