{"library":"graphql-mongoose-subscriptions","type":"library","category":null,"description":"Implements the PubSubEngine interface from graphql-subscriptions using mongoose as the underlying pub/sub mechanism. Version 1.0.18 is the latest stable release. Allows multiple subscription manager instances to communicate via a shared mongoose database by publishing and subscribing to topics through mongoose. Designed for Apollo GraphQL subscriptions in Node.js environments that already use mongoose as a database driver. Key differentiator: enables cross-instance subscription events without external message brokers or Redis, suitable for serverless or multi-process setups where all instances share a mongoose backend.","language":"javascript","status":"active","version":"1.0.18","tags":["javascript","graphql","mongoose","apollo","subscriptions"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install graphql-mongoose-subscriptions","imports":["import { MongoosePubSub } from 'graphql-mongoose-subscriptions';","import MongoosePubSub from 'graphql-mongoose-subscriptions';","import { withFilter } from 'graphql-subscriptions';","import type { PubSubEngine } from 'graphql-subscriptions';"]},{"cmd":"yarn add graphql-mongoose-subscriptions","imports":[]},{"cmd":"pnpm add graphql-mongoose-subscriptions","imports":[]}],"homepage":"https://github.com/Nickolasmv/graphql-mongoose-subscriptions","github":"https://github.com/Nickolasmv/graphql-mongoose-subscriptions","docs":null,"changelog":null,"pypi":null,"npm":"graphql-mongoose-subscriptions","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}