{"library":"aedes-persistence-mongodb","type":"library","category":null,"description":"MongoDB persistence layer for the Aedes MQTT broker. Version 9.4.2 requires Node.js >=20. Supports flexible TTL per collection (incoming, outgoing, retained, will, subscriptions) or per-message, and can use either a connection string or an existing MongoDB instance. Integrates with Mongoose via the native db object. The persistence follows the aedes-persistence interface and is intended for production MQTT deployments needing durable session storage. Maintained under the moscajs organization with active CI and coverage.","language":"javascript","status":"active","version":"9.4.2","tags":["javascript","Aedes","MQTT","broker","mosca","persistence","mongodb"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install aedes-persistence-mongodb","imports":["import aedesPersistenceMongoDB from 'aedes-persistence-mongodb'","import AedesPersistenceMongoDB from 'aedes-persistence-mongodb'","import Aedes from 'aedes'"]},{"cmd":"yarn add aedes-persistence-mongodb","imports":[]},{"cmd":"pnpm add aedes-persistence-mongodb","imports":[]}],"homepage":"https://github.com/moscajs/aedes-persistence-mongodb#readme","github":"https://github.com/moscajs/aedes-persistence-mongodb","docs":null,"changelog":null,"pypi":null,"npm":"aedes-persistence-mongodb","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}