inSite Subscriptions Server

JSON →
library 2.4.0 ·javascript
verified Jun 4, 2026

Server-side pub/sub layer for the inSite framework (v2.4.0). Defines publications (named data sources), subscription handles, and WebSocket integration for real-time updates. Supports two data modes: object (arbitrary data via custom fetch with manual change notification) and map (MongoDB collection with query/projection/sort that reacts to Change Streams and sends diff updates). Published weekly on npm. Key differentiators: tight integration with inSite ecosystem (insite-ws, insite-users-server-ws), low-level and WS entry points, MongoDB Change Stream support, diff-based incremental updates for map mode, TypeScript types included.