{"library":"wexa-chat","type":"library","category":null,"description":"Chat core library built in TypeScript with MongoDB persistence and optional Redis pub/sub for cross-instance fanout. Current stable version 0.3.4. It provides a server-side API via initChat() and a lightweight browser client bundle (SocketProvider, useSocket, getSocketManager). Requires mongoose and ioredis as peer dependencies. Ships its own WebSocket transport using the ws library, with server-driven authentication via query parameters. Differentiators: server & client in one package, optional Redis for horizontal scaling, built-in text search, and a Next.js demo app pattern.","language":"javascript","status":"active","version":"0.3.4","tags":["javascript","chat","mongodb","redis","websocket","ws","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install wexa-chat","imports":["import { initChat } from 'wexa-chat'","import { SocketProvider } from 'wexa-chat/client'","import { useSocket } from 'wexa-chat/client'","import { getSocketManager } from 'wexa-chat/client'","import type { ChatEvent } from 'wexa-chat/client'"]},{"cmd":"yarn add wexa-chat","imports":[]},{"cmd":"pnpm add wexa-chat","imports":[]}],"homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":"wexa-chat","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}