GlenTiki / aedes-persistence-mongodb

MongoDB persistence for Aedes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

aedes-persistence-mongodb

Aedes persistence, backed by MongoDB.

See aedes-persistence for the full API, and Aedes for usage.

Install

npm i aedes aedes-persistence-mongodb --save

API

aedesPersistenceMongoDB([opts])

Creates a new instance of aedes-persistence-mongodb. It accepts a connections string url.

Example:

aedesPersistenceRedis({
  url: 'mongodb://127.0.0.1/aedes-test'
})

License

MIT

About

MongoDB persistence for Aedes

License:MIT License


Languages

Language:JavaScript 100.0%