{"library":"socket-store","type":"library","category":null,"description":"Socket-store is a lightweight WebSocket-first topic state store for JavaScript/TypeScript that routes incoming messages by topic to typed handlers. Version 0.0.3 ships TypeScript types and supports schema-based usage for type safety. It provides store.send, store.subscribe, store.getState, and connection status tracking. Compared to generic WebSocket wrappers, it offers a structured state management pattern similar to Redux but for real-time topics. Released as an early-stage package (0.x.x) with limited adoption; no breaking changes documented yet.","language":"javascript","status":"active","version":"0.0.3","tags":["javascript","websocket","store","websocket-store","websocket-store-client","websocket-client","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install socket-store","imports":["import { SocketStore, createMessageHandler } from 'socket-store'","import { createMessageHandler } from 'socket-store'","import type { SocketStoreConfig, SocketStoreEvents } from 'socket-store'"]},{"cmd":"yarn add socket-store","imports":[]},{"cmd":"pnpm add socket-store","imports":[]}],"homepage":"https://nerdchanii.github.io/socket-store/","github":"https://github.com/nerdchanii/socket-store","docs":null,"changelog":null,"pypi":null,"npm":"socket-store","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}