{"library":"websocket-pool","type":"library","category":null,"description":"A pool of WebSocket connections with automatic reconnection and load balancing. Version 1.3.2 is the current stable release, with no new releases since 2019. It allows distributing messages across multiple WebSocket servers using a pluggable scheduler (e.g., round-robin). Supports any WebSocket implementation (native or `ws`). Different from `reconnecting-websocket` which handles a single connection, and `generic-pool` which requires custom adaptation. Node.js >=6. ISC license.","language":"javascript","status":"maintenance","version":"1.3.2","tags":["javascript","websocket","ws","pool","load balancer","load balancing","retry","reconnect"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install websocket-pool","imports":["import createPool from 'websocket-pool'","type Pool = ReturnType<typeof createPool>","import { EventEmitter } from 'events'; const pool = createPool(...); pool.on('message', ...)"]},{"cmd":"yarn add websocket-pool","imports":[]},{"cmd":"pnpm add websocket-pool","imports":[]}],"homepage":"https://github.com/derhuerst/websocket-pool","github":"https://github.com/derhuerst/websocket-pool","docs":null,"changelog":null,"pypi":null,"npm":"websocket-pool","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}