mqtt-nedb-store.js
function (options) {
  if (!(this instanceof Store)) {
    return new Store(options)
  }

  this._opts = options || {}
  this.db = new Datastore({ filename: this._opts.filename, autoload: true })
}
function (options) {
  if (!(this instanceof Store)) {
    return new Store(options)
  }

  this._opts = options || {}
  this.db = new Datastore({ filename: this._opts.filename, autoload: true })
}
function ( options ) { if ( ! ( this instanceof Store ) ) { return new Store ( options ) } this . _opts = options || { } this . db = new Datastore ( { filename : this . _opts . filename , autoload : true } ) }
NeDB implementation of the message store
NeDB implementation of the message store