{"library":"mubsub","type":"library","category":null,"description":"Mubsub is a pub/sub implementation for Node.js and MongoDB using capped collections and tailable cursors. Version 1.4.0 is the latest stable release (no updates since 2016). It allows publishing events to channels backed by capped collections and subscribing with optional event filtering. Compared to other MongoDB pub/sub libraries, it directly leverages MongoDB's native tailable cursors for low-latency message delivery. It is lightweight but lacks modern MongoDB driver support and TypeScript types. Suitable for simple pub/sub within a MongoDB environment.","language":"javascript","status":"maintenance","version":"1.4.0","tags":["javascript","mongodb","pubsub","pub","sub","capped collection"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install mubsub","imports":["import mubsub from 'mubsub'","const client = mubsub('mongodb://...')","const channel = client.channel('name')"]},{"cmd":"yarn add mubsub","imports":[]},{"cmd":"pnpm add mubsub","imports":[]}],"homepage":"http://github.com/scttnlsn/mubsub","github":"git://github.com/scttnlsn/mubsub","docs":null,"changelog":null,"pypi":null,"npm":"mubsub","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}