{"library":"zpusher-client","type":"library","category":null,"description":"ZPusher Client (v1.0.9) is a WebSocket client library for connecting to ZPusher servers. It provides an event-driven API with automatic reconnection, channel subscription, and promise-based connection management. The library ships as a single JavaScript file supporting both Node.js and browser environments via script tag or npm. Key features include configurable auto-connect, reconnect timeout, and support for custom event listeners (open, close, error, reconnect). The package has no additional dependencies but requires a valid token and WebSocket endpoint. Compared to alternatives like Socket.IO, ZPusher is minimal and focused specifically on ZPusher server protocol.","language":"javascript","status":"active","version":"1.0.9","tags":["javascript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install zpusher-client","imports":["import ZPusher from 'zpusher-client'","<script src=\"./node_modules/zpusher-client/dist/zpusher.js\"></script>"]},{"cmd":"yarn add zpusher-client","imports":[]},{"cmd":"pnpm add zpusher-client","imports":[]}],"homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":"zpusher-client","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}