{"library":"gin-websocket-client","type":"library","category":null,"description":"TypeScript/JavaScript client for gin-websocket that wraps WebSocket communication with a fetch-compatible API and event subscriptions using pica-route pattern matching. Current version 1.2.1. Supports auto-reconnect, TypeScript types, and works in both browser and Node.js environments. Differentiated by its fetch-like interface for request-response patterns and flexible pattern-based event subscription system, making it a convenient drop-in replacement for HTTP fetch over WebSocket.","language":"javascript","status":"active","version":"1.2.1","tags":["javascript","websocket","gin","fetch","http","client","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install gin-websocket-client","imports":["import { WsClient } from 'gin-websocket-client'","import type { PushEvent } from 'gin-websocket-client'","import type { WsClientOptions } from 'gin-websocket-client'"]},{"cmd":"yarn add gin-websocket-client","imports":[]},{"cmd":"pnpm add gin-websocket-client","imports":[]}],"homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":"gin-websocket-client","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}